]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
exec: Pass RAMBlock pointer to qemu_ram_free
authorFam Zheng <famz@redhat.com>
Tue, 1 Mar 2016 06:18:22 +0000 (14:18 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 7 Mar 2016 12:26:37 +0000 (13:26 +0100)
commitf1060c55bf1377b499affc8d022378d936f0bd99
treeddc5d0b98689dfaebf5aeb17fdc97f3e2e69d188
parent8e41fb63c5bf29ecabe0cee1239bf6230f19978a
exec: Pass RAMBlock pointer to qemu_ram_free

The only caller now knows exactly which RAMBlock to free, so it's not
necessary to do the lookup.

Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <1456813104-25902-6-git-send-email-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c
include/exec/ram_addr.h
memory.c