]> git.proxmox.com Git - qemu.git/commit - exec.c
s390: Detect invalid invocations of qemu_ram_free/remap
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 15 Mar 2011 11:26:14 +0000 (12:26 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 15 Mar 2011 17:36:25 +0000 (14:36 -0300)
commitfd28aa132362320f9f3a30b23f634bb14dee528e
tree137b64bdd7aa69f20484ac5fcf2576b8a28834fb
parent1009d2edea4acd5b683ab1572ad7f4d4583e1860
s390: Detect invalid invocations of qemu_ram_free/remap

This both detects invalid invocations of qemu_ram_free and
qemu_ram_remap when mem_path is non-NULL and fixes a build error on
s390 ("'area' may be used uninitialized in this function").

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
CC: Alexander Graf <agraf@suse.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
exec.c