p2v monitor command: translate guest physical address to host virtual address
commitc3fe515c911b9828d6e3e659ac794cb7dc76cd66
authorMax Asbock <masbock@linux.vnet.ibm.com>
Fri, 1 Oct 2010 01:52:25 +0000 (1 09:52 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 1 Oct 2010 22:52:31 +0000 (1 19:52 -0300)
tree2008fa0aaae02e2eb59dde0cf0211268b24120db
parent6c8578617ed01c915da793ae98017ebd1244a4e1
p2v monitor command: translate guest physical address to host virtual address

Add command p2v to translate guest physical address to host virtual
address.

The p2v command provides one step in a chain of translations from
guest virtual to guest physical to host virtual to host physical. Host
physical is then used to inject a machine check error. As a
consequence the HWPOISON code on the host and the MCE injection code
in qemu-kvm are exercised.

Signed-off-by: Max Asbock <masbock@linux.vnet.ibm.com>
Signed-off-by: Jiajia Zheng <jiajia.zheng@intel.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
monitor.c
qemu-monitor.hx