]> git.ipfire.org Git - thirdparty/qemu.git/commit - exec.c
Add qemu_ram_remap
authorHuang Ying <ying.huang@intel.com>
Wed, 2 Mar 2011 07:56:19 +0000 (08:56 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 15 Mar 2011 04:19:06 +0000 (01:19 -0300)
commitcd19cfa23609dc1a35dd34f0b7554a8462337fde
tree0eaebf77bd3ed7ddbee6b38a8172d95f58b42d36
parent75d49497332361a574d9ed1f546d36de385d238f
Add qemu_ram_remap

qemu_ram_remap() unmaps the specified RAM pages, then re-maps these
pages again.  This is used by KVM HWPoison support to clear HWPoisoned
page tables across guest rebooting, so that a new page may be
allocated later to recover the memory error.

[ Jan: style fixlets, WIN32 fix ]

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
cpu-all.h
cpu-common.h
exec.c