qemu-e2k/contrib
Raphael Norwitz 6fb2e173d2 Support ram slot configuration in libvhost-user
The VHOST_USER_GET_MAX_MEM_SLOTS message allows a vhost-user backend to
specify a maximum number of ram slots it is willing to support. This
change adds support for libvhost-user to process this message. For now
the backend will reply with 8 as the maximum number of regions
supported.

libvhost-user does not yet support the vhost-user protocol feature
VHOST_USER_PROTOCOL_F_CONFIGIRE_MEM_SLOTS, so qemu should never
send the VHOST_USER_GET_MAX_MEM_SLOTS message. Therefore this new
functionality is not currently used.

Signed-off-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Message-Id: <1588533678-23450-8-git-send-email-raphael.norwitz@nutanix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2020-06-12 10:17:06 -04:00
..
elf2dmp contrib/elf2dmp: Build download.o with CURL_CFLAGS 2019-07-22 14:07:39 +01:00
gitdm contrib/gitdm: add China Mobile to the domain map 2019-10-27 19:16:30 +00:00
ivshmem-client Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
ivshmem-server ivshmem-server: Terminate also on SIGINT 2019-11-12 10:37:20 +01:00
libvhost-user Support ram slot configuration in libvhost-user 2020-06-12 10:17:06 -04:00
rdmacm-mux contrib/rdmacm-mux: Remove superfluous semicolon 2020-02-18 20:20:49 +01:00
systemd contrib: add systemd unit files 2017-12-20 22:29:26 +01:00
vhost-user-blk Implement backend program convention command for vhost-user-blk 2020-01-05 07:03:03 -05:00
vhost-user-gpu vhost-user-gpu: Release memory returned by vu_queue_pop() with free() 2020-04-15 19:00:39 +01:00
vhost-user-input libvhost-user-glib: fix VugDev main fd cleanup 2020-02-27 03:46:10 -05:00
vhost-user-scsi vhost-user-scsi: fix printf format warning 2019-12-17 19:32:47 +01:00