diff options
author | Christoph Hellwig <hch@lst.de> | 2010-06-07 12:06:47 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-06-15 09:41:59 +0200 |
commit | 2063392ae5d00a9ea13039f971e2b9e61bd68dbc (patch) | |
tree | 0bb808e35997b8846a5d59ac8d459e0e20035989 /blockdev.h | |
parent | 893a9cb47c767adfbc22357e33e784e7137392df (diff) | |
download | hqemu-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