diff options
| author | Dr. David Alan Gilbert | 2018-03-12 18:21:06 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2018-03-20 04:03:28 +0100 |
| commit | 6864a7b5aced6d8d9b287b92db8d7a996ea2e8a3 (patch) | |
| tree | 84755be6b91f51835ef5ad85247ba0c7e045617b /contrib/libvhost-user/libvhost-user.h | |
| parent | vhost+postcopy: Register shared ufd with postcopy (diff) | |
| download | qemu-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 'contrib/libvhost-user/libvhost-user.h')
| -rw-r--r-- | contrib/libvhost-user/libvhost-user.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/libvhost-user/libvhost-user.h b/contrib/libvhost-user/libvhost-user.h index 074b7860f6..ed505cf0c1 100644 --- a/contrib/libvhost-user/libvhost-user.h +++ b/contrib/libvhost-user/libvhost-user.h @@ -86,6 +86,7 @@ typedef enum VhostUserRequest { VHOST_USER_CREATE_CRYPTO_SESSION = 26, VHOST_USER_CLOSE_CRYPTO_SESSION = 27, VHOST_USER_POSTCOPY_ADVISE = 28, + VHOST_USER_POSTCOPY_LISTEN = 29, VHOST_USER_MAX } VhostUserRequest; @@ -285,6 +286,7 @@ struct VuDev { /* Postcopy data */ int postcopy_ufd; + bool postcopy_listening; }; typedef struct VuVirtqElement { |
