aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi-disk.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-06-07 12:06:47 +0200
committerKevin Wolf <kwolf@redhat.com>2010-06-15 09:41:59 +0200
commit2063392ae5d00a9ea13039f971e2b9e61bd68dbc (patch)
tree0bb808e35997b8846a5d59ac8d459e0e20035989 /hw/scsi-disk.c
parent893a9cb47c767adfbc22357e33e784e7137392df (diff)
cow: use qemu block API
Use bdrv_pwrite to access the backing device instead of pread, and convert the driver to implementing the bdrv_open method which gives it an already opened BlockDriverState for the underlying device. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/scsi-disk.c')
0 files changed, 0 insertions, 0 deletions