commit | 7a6f391376c61af1dce2d624a4fcff8eec4fa097 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue May 04 12:44:21 2010 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon May 17 10:20:05 2010 +0200 |
tree | 7963345d9fa86b3ffe81a9d763ac99a544983b0e | |
parent | efbca10f10af2c0d7282e5dc49713479be98880b [diff] |
bochs: 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>