]> git.proxmox.com Git - mirror_qemu.git/commit - block/nfs.c
nfs: use BDRV_POLL_WHILE
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 Oct 2016 10:48:57 +0000 (12:48 +0200)
committerFam Zheng <famz@redhat.com>
Fri, 28 Oct 2016 13:50:18 +0000 (21:50 +0800)
commitd746427aafa5abf7d607d974979c1d15c8ab3c8d
tree72e390443111126d2e6e322951d3c77d51ced95d
parentaa92d6c4609e174fc6884e4b7b87367fac33cbe9
nfs: use BDRV_POLL_WHILE

This will make it possible to use nfs_get_allocated_file_size on
a file that is not in the main AioContext.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1477565348-5458-10-git-send-email-pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
block/nfs.c