]> Git Repo - qemu.git/commit
Lift max ram slots limit in libvhost-user
authorRaphael Norwitz <[email protected]>
Thu, 21 May 2020 05:00:59 +0000 (05:00 +0000)
committerMichael S. Tsirkin <[email protected]>
Fri, 12 Jun 2020 14:17:06 +0000 (10:17 -0400)
commitb650d5f4b1cd3f9f8c4fdb319838c5c1e0695e41
tree1cbd55733022ae58e25859c57e0a38e309d904af
parent875b9fd97b34dae796d61330804b094ca7b1b403
Lift max ram slots limit in libvhost-user

Historically, VMs with vhost-user devices could hot-add memory a maximum
of 8 times. Now that the VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS
protocol feature has been added, VMs with vhost-user backends which
support this new feature can support a configurable number of ram slots
up to the maximum supported by the target platform.

This change adds VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS support for
backends built with libvhost-user, and increases the number of supported
ram slots from 8 to 32.

Memory hot-add, hot-remove and postcopy migration were tested with
the vhost-user-bridge sample.

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]>
contrib/libvhost-user/libvhost-user.c
contrib/libvhost-user/libvhost-user.h
This page took 0.023587 seconds and 4 git commands to generate.