mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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>
This commit is contained in:
parent
f82c11165f
commit
6864a7b5ac
7 changed files with 77 additions and 0 deletions
|
@ -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
|
||||
-------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue