summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorIgor Mammedov2015-10-19 19:11:11 +0200
committerPaolo Bonzini2015-11-02 14:50:27 +0100
commitcc57501dee37376d0a2fbc5921e0f3a9ed4b117d (patch)
tree5301b4292cb06cd6580606dbeef5dc269c107ce9 /scripts
parentMerge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (diff)
downloadqemu-cc57501dee37376d0a2fbc5921e0f3a9ed4b117d.tar.gz
qemu-cc57501dee37376d0a2fbc5921e0f3a9ed4b117d.tar.xz
qemu-cc57501dee37376d0a2fbc5921e0f3a9ed4b117d.zip
file_ram_alloc: propagate error to caller instead of terminating QEMU
QEMU shouldn't exits from file_ram_alloc() if -mem-prealloc option is specified and "object_add memory-backend-file,..." fails allocation during memory hotplug. Propagate error to a caller and let it decide what to do with allocation failure. That leaves QEMU alive if it can't create backend during hotplug time and kills QEMU at startup time if backends or initial memory were misconfigured/ too large. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <1445274671-17704-1-git-send-email-imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions