summary refs log tree commit diff stats
path: root/scripts
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2015-10-06 10:37:28 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-10-22 14:34:48 +0300
commit3fad87881e55aaff659408dcf25fa204f89a7896 (patch)
tree680288ecc2b6f16f16515f5af9822f8ecb3ddc37 /scripts
parent2ce68e4cf5be9b5176a3c3c372948d6340724d2d (diff)
downloadfocaccia-qemu-3fad87881e55aaff659408dcf25fa204f89a7896.tar.gz
focaccia-qemu-3fad87881e55aaff659408dcf25fa204f89a7896.zip
pc-dimm: add vhost slots limit check before commiting to hotplug
it allows safely cancel memory hotplug if vhost backend
doesn't support necessary amount of memory slots and prevents
QEMU crashing in vhost due to hitting vhost limit on amount
of supported memory ranges.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions