]> Git Repo - qemu.git/commit
Support ram slot configuration in libvhost-user
authorRaphael Norwitz <[email protected]>
Thu, 21 May 2020 05:00:50 +0000 (05:00 +0000)
committerMichael S. Tsirkin <[email protected]>
Fri, 12 Jun 2020 14:17:06 +0000 (10:17 -0400)
commit6fb2e173d20c9bbb5466183d33a3ad7dcd0375fa
tree394a4e9a3af61ea6e0425493926f9a432a20078d
parent08fccf8f077397b47c740d4850cdeedc947f21ac
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 <[email protected]>
Message-Id: <1588533678[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
contrib/libvhost-user/libvhost-user.c
contrib/libvhost-user/libvhost-user.h
This page took 0.025379 seconds and 4 git commands to generate.