summaryrefslogtreecommitdiffstats
path: root/block/qcow2.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-01-12 13:49:23 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-13 17:14:15 -0600
commit3f5075ae63b6dc1de9428d028a4d28fc98e7fdff (patch)
tree5c8fc9ec0ded501b335360a4d58be1478d8beabf /block/qcow2.c
parent2da69c8d122570832971ee4bb5b6b4395ec97280 (diff)
downloadhqemu-3f5075ae63b6dc1de9428d028a4d28fc98e7fdff.zip
hqemu-3f5075ae63b6dc1de9428d028a4d28fc98e7fdff.tar.gz
block: flush backing_hd in the right place
The backing device is only modified from bdrv_commit. So instead of flushing it every time bdrv_flush is called for the front-end device only flush it after we're written data to it in bdrv_commit. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block/qcow2.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud