summaryrefslogtreecommitdiffstats
path: root/docs/interop
diff options
context:
space:
mode:
authorDr. David Alan Gilbert2018-03-12 18:21:06 +0100
committerMichael S. Tsirkin2018-03-20 04:03:28 +0100
commit6864a7b5aced6d8d9b287b92db8d7a996ea2e8a3 (patch)
tree84755be6b91f51835ef5ad85247ba0c7e045617b /docs/interop
parentvhost+postcopy: Register shared ufd with postcopy (diff)
downloadqemu-6864a7b5aced6d8d9b287b92db8d7a996ea2e8a3.tar.gz
qemu-6864a7b5aced6d8d9b287b92db8d7a996ea2e8a3.tar.xz
qemu-6864a7b5aced6d8d9b287b92db8d7a996ea2e8a3.zip
vhost+postcopy: Transmit 'listen' to slave
Notify the vhost-user slave on reception of the 'postcopy-listen' event from the source. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'docs/interop')
-rw-r--r--docs/interop/vhost-user.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/interop/vhost-user.txt b/docs/interop/vhost-user.txt
index 7854e50008..0d24203d31 100644
--- a/docs/interop/vhost-user.txt
+++ b/docs/interop/vhost-user.txt
@@ -709,6 +709,17 @@ Master message types
the slave must open a userfaultfd for later use.
Note that at this stage the migration is still in precopy mode.
+ * VHOST_USER_POSTCOPY_LISTEN
+ Id: 29
+ Master payload: N/A
+
+ Master advises slave that a transition to postcopy mode has happened.
+ The slave must ensure that shared memory is registered with userfaultfd
+ to cause faulting of non-present pages.
+
+ This is always sent sometime after a VHOST_USER_POSTCOPY_ADVISE, and
+ thus only when VHOST_USER_PROTOCOL_F_PAGEFAULT is supported.
+
Slave message types
-------------------