]> git.proxmox.com Git - mirror_qemu.git/commit
xen_disk: use bdrv_aio_flush instead of bdrv_flush
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 26 Apr 2012 16:35:53 +0000 (16:35 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 17 May 2012 10:43:33 +0000 (10:43 +0000)
commitc6961b7d38317fd48a8e86a8c2be4b9aeeb71ac0
tree9e7ab370c1db52692d59c21ed1406fb0250a9ce4
parentba1dffed6342f900595b97435c05646f559b5ea7
xen_disk: use bdrv_aio_flush instead of bdrv_flush

Use bdrv_aio_flush instead of bdrv_flush.

Make sure to call bdrv_aio_writev/readv after the presync bdrv_aio_flush is fully
completed and make sure to call the postsync bdrv_aio_flush after
bdrv_aio_writev/readv is fully completed.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/xen_disk.c