kvm,virtio: do not publish read only feature to guest

We support write operations now.

Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
Asias He
2015-06-01 16:39:41 +01:00
committed by Will Deacon
parent 2924f993ed
commit a276ccb50a
+1 -1
View File
@@ -60,7 +60,7 @@ static struct device device = {
* node kernel will compute disk geometry by own, the
* same applies to VIRTIO_BLK_F_BLK_SIZE
*/
.host_features = (1UL << VIRTIO_BLK_F_RO),
.host_features = 0,
};
static bool virtio_blk_config_in(void *data, unsigned long offset, int size, uint32_t count)