summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorIgor Mammedov2015-10-06 10:37:28 +0200
committerMichael S. Tsirkin2015-10-22 13:34:48 +0200
commit3fad87881e55aaff659408dcf25fa204f89a7896 (patch)
tree680288ecc2b6f16f16515f5af9822f8ecb3ddc37 /include/exec
parentvhost: add vhost_has_free_slot() interface (diff)
downloadqemu-3fad87881e55aaff659408dcf25fa204f89a7896.tar.gz
qemu-3fad87881e55aaff659408dcf25fa204f89a7896.tar.xz
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 'include/exec')
0 files changed, 0 insertions, 0 deletions