commit | 1dec5a70973bde6138d7cf30e98e12a49397abf4 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu May 06 22:04:50 2010 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon May 17 10:20:05 2010 +0200 |
tree | 656f9a5dd7d03c482d735c115237d37027846320 | |
parent | 9d8b88f68c4f55e4f706408b39f720e1a7486da1 [diff] |
parallels: 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>