]> git.proxmox.com Git - mirror_qemu.git/commit - numa.c
memory: add error propagation to file-based RAM allocation
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 May 2014 09:43:20 +0000 (17:43 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 15:44:20 +0000 (18:44 +0300)
commit7f56e740a68c9f4ccebf7ad7590e82fbb30ffc87
treecb8e9a6884921dcf55caf139884f34d2f4f93424
parent0b183fc871e61f4a586fdef2c0f880b6a856e444
memory: add error propagation to file-based RAM allocation

Right now, -mem-path will fall back to RAM-based allocation in some
cases.  This should never happen with "-object memory-file", prepare
the code by adding correct error propagation.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
MST: drop \n at end of error messages
exec.c
include/exec/memory.h
include/exec/ram_addr.h
memory.c
numa.c