diff options
author | Igor Mammedov <imammedo@redhat.com> | 2015-10-06 10:37:28 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-10-22 14:34:48 +0300 |
commit | 3fad87881e55aaff659408dcf25fa204f89a7896 (patch) | |
tree | 680288ecc2b6f16f16515f5af9822f8ecb3ddc37 /hw/virtio/dataplane | |
parent | 2ce68e4cf5be9b5176a3c3c372948d6340724d2d (diff) | |
download | hqemu-3fad87881e55aaff659408dcf25fa204f89a7896.zip hqemu-3fad87881e55aaff659408dcf25fa204f89a7896.tar.gz |
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 'hw/virtio/dataplane')
0 files changed, 0 insertions, 0 deletions