summaryrefslogtreecommitdiffstats
path: root/qemu-coroutine-lock.c
diff options
context:
space:
mode:
authorOlaf Hering2014-02-20 18:57:13 +0100
committerStefano Stabellini2014-02-20 18:57:13 +0100
commit58da5b1e01a586eb5a52ba3eec342d6828269839 (patch)
treee8f6f557e461227ad7d6b4a45e68b2221e4bab2b /qemu-coroutine-lock.c
parentCall pci_piix3_xen_ide_unplug from unplug_disks (diff)
downloadqemu-58da5b1e01a586eb5a52ba3eec342d6828269839.tar.gz
qemu-58da5b1e01a586eb5a52ba3eec342d6828269839.tar.xz
qemu-58da5b1e01a586eb5a52ba3eec342d6828269839.zip
xen_disk: fix io accounting
bdrv_acct_done was called unconditional. But in case the ioreq has no segments there is no matching bdrv_acct_start call. This could lead to bogus accounting values. Found by code inspection. Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'qemu-coroutine-lock.c')
0 files changed, 0 insertions, 0 deletions