Pass the drive's readonly attribute to the guest OS
commitc79662f7f765a0e6cb7aa26902cc8d61f9022dd5
authorNaphtali Sprei <nsprei@redhat.com>
Thu, 29 Oct 2009 09:42:11 +0000 (29 11:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 9 Nov 2009 14:43:01 +0000 (9 08:43 -0600)
treeb7c9d1dde699a690c487f2ef9c57b556558ac866
parent59f2689d9082f2f631253c810f73cd22290144a9
Pass the drive's readonly attribute to the guest OS

Implemented for virtio-blk and for scsi

Signed-off-by: Naphtali Sprei <nsprei@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/scsi-disk.c
hw/virtio-blk.c