summaryrefslogtreecommitdiffstats
path: root/blockdev.h
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 /blockdev.h
parent893a9cb47c767adfbc22357e33e784e7137392df (diff)
downloadhqemu-2063392ae5d00a9ea13039f971e2b9e61bd68dbc.zip
hqemu-2063392ae5d00a9ea13039f971e2b9e61bd68dbc.tar.gz
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 'blockdev.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud