]> xenbits.xensource.com Git - xen.git/commit
tools/xen-mceinj: Pass in GPA when injecting through MSR_MCI_ADDR
authorHaozhong Zhang <haozhong.zhang@intel.com>
Wed, 16 Sep 2015 05:35:15 +0000 (13:35 +0800)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 16 Sep 2015 13:43:07 +0000 (14:43 +0100)
commit4ddf474e2b7c045fadeaf765ac6157de745e84d6
tree624ab77b8db6e5b1c8d194ead8048d728006e9d5
parent26646f34c31f663fa23076ed0433195edec50d9f
tools/xen-mceinj: Pass in GPA when injecting through MSR_MCI_ADDR

This patch removes the address translation in xen-mceinj which
translates the guest physical address passed-in through the argument of
'-p' to the host machine address. Instead, xen-mceinj now passes a flag
MC_MSRINJ_F_GPADDR to ask do_mca() in the hypervisor to do this
translation.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Christoph Egger <chegger@amazon.de>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/tests/mce-test/tools/xen-mceinj.c