summaryrefslogtreecommitdiffstats
path: root/hw/virtio.c
diff options
context:
space:
mode:
authorNaphtali Sprei2010-01-17 15:48:13 +0100
committerAnthony Liguori2010-01-20 15:25:22 +0100
commitf5edb014ed221db6942225ec675aafe2675632dd (patch)
tree8c4d10e0d64b55c4320e1837749fc03cbf80941e /hw/virtio.c
parentMake CDROM a read-only drive (diff)
downloadqemu-f5edb014ed221db6942225ec675aafe2675632dd.tar.gz
qemu-f5edb014ed221db6942225ec675aafe2675632dd.tar.xz
qemu-f5edb014ed221db6942225ec675aafe2675632dd.zip
Clean-up a little bit the RW related bits of BDRV_O_FLAGS. BDRV_O_RDONLY gone (and so is BDRV_O_ACCESS). Default value for bdrv_flags (0/zero) is READ-ONLY. Need to explicitly request READ-WRITE.
Instead of using the field 'readonly' of the BlockDriverState struct for passing the request, pass the request in the flags parameter to the function. Signed-off-by: Naphtali Sprei <nsprei@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio.c')
0 files changed, 0 insertions, 0 deletions