]> Git Repo - qemu.git/commit
Lift max memory slots limit imposed by vhost-user
authorRaphael Norwitz <[email protected]>
Thu, 21 May 2020 05:00:40 +0000 (05:00 +0000)
committerMichael S. Tsirkin <[email protected]>
Fri, 12 Jun 2020 14:17:06 +0000 (10:17 -0400)
commit27598393a23215cfbf92ad550b9541675b0b8f2b
tree22fb572c7b000999a68603980b31649aa6ba43f7
parentf1aeb14b0809e313c74244d838645ed25e85ea63
Lift max memory slots limit imposed by vhost-user

Historically, sending all memory regions to vhost-user backends in a
single message imposed a limitation on the number of times memory
could be hot-added to a VM with a vhost-user device. Now that backends
which support the VHOST_USER_PROTOCOL_F_CONFIGURE_SLOTS send memory
regions individually, we no longer need to impose this limitation on
devices which support this feature.

With this change, VMs with a vhost-user device which supports the
VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS can support a configurable
number of memory slots, up to the maximum allowed by the target
platform.

Existing backends which do not support
VHOST_USER_PROTOCOL_F_CONFIGURE_MEM_SLOTS are unaffected.

Signed-off-by: Raphael Norwitz <[email protected]>
Signed-off-by: Peter Turschmid <[email protected]>
Suggested-by: Mike Cui <[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]>
docs/interop/vhost-user.rst
hw/virtio/vhost-user.c
This page took 0.026789 seconds and 4 git commands to generate.