]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commit
xen_disk: use bdrv_aio_flush instead of bdrv_flush
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 15 May 2012 17:20:47 +0000 (17:20 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 15 May 2012 17:21:40 +0000 (17:21 +0000)
commit4472beae10fe7b84b02e6caafe2fb04613752423
treed44c99a5183957838bf6d4a4b0c93c32213fa21b
parentb468feb4eba6747cd4b603b85332ffe65d7b8e49
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