commit | 2063392ae5d00a9ea13039f971e2b9e61bd68dbc | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Jun 07 12:06:47 2010 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Jun 15 09:41:59 2010 +0200 |
tree | 0bb808e35997b8846a5d59ac8d459e0e20035989 | |
parent | 893a9cb47c767adfbc22357e33e784e7137392df [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>