xemu/contrib
Dr. David Alan Gilbert 9bb3801994 vhost+postcopy: Send address back to qemu
We need a better way, but at the moment we need the address of the
mappings sent back to qemu so it can interpret the messages on the
userfaultfd it reads.

This is done as a 3 stage set:
   QEMU -> client
      set_mem_table

   mmap stuff, get addresses

   client -> qemu
       here are the addresses

   qemu -> client
       OK - now you can use them

That ensures that qemu has registered the new addresses in it's
userfault code before the client starts accessing them.

Note: We don't ask for the default 'ack' reply since we've got our own.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@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>
2018-03-20 05:03:28 +02:00
..
ivshmem-client Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
ivshmem-server Move include qemu/option.h from qemu-common.h to actual users 2018-02-09 13:52:16 +01:00
libvhost-user vhost+postcopy: Send address back to qemu 2018-03-20 05:03:28 +02:00
systemd contrib: add systemd unit files 2017-12-20 22:29:26 +01:00
vhost-user-blk contrib/vhost-user-blk: introduce a vhost-user-blk sample application 2018-01-18 21:52:37 +02:00
vhost-user-scsi Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00