From: Asias He Date: Sun, 9 Jan 2011 08:48:39 +0000 (+0800) Subject: kvm,virtio: do not publish read only feature to guest X-Git-Tag: next-20110824~3^2~528^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eb7aad6756eeba6aec6964c4d0be7fcc7a198b2a;p=karo-tx-linux.git kvm,virtio: do not publish read only feature to guest We support write operations now. Signed-off-by: Asias He Signed-off-by: Pekka Enberg --- diff --git a/tools/kvm/blk-virtio.c b/tools/kvm/blk-virtio.c index 3f79f81b6eb0..3720c83d855a 100644 --- a/tools/kvm/blk-virtio.c +++ b/tools/kvm/blk-virtio.c @@ -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)