]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost-user: Add VHOST_USER_POSTCOPY_END message
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 12 Mar 2018 17:21:19 +0000 (17:21 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 20 Mar 2018 14:40:37 +0000 (16:40 +0200)
commitc639187e3342cb14e100d14ce4854444f7ae98d5
tree9bd69185b44dc99ac945cd309b1597a639cd0784
parent0185cfb30b05af9966d60552976e672b827189ef
vhost-user: Add VHOST_USER_POSTCOPY_END message

This message is sent just before the end of postcopy to get the
client to stop using userfault since we wont respond to any more
requests.  It should close userfaultfd so that any other pages
get mapped to the backing file automatically by the kernel, since
at this point we know we've received everything.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
contrib/libvhost-user/libvhost-user.c
contrib/libvhost-user/libvhost-user.h
docs/interop/vhost-user.txt
hw/virtio/vhost-user.c