tools/xen-mceinj: add support of injecting LMCE
authorHaozhong Zhang <haozhong.zhang@intel.com>
Wed, 12 Jul 2017 02:04:40 +0000 (10:04 +0800)
committerWei Liu <wei.liu2@citrix.com>
Tue, 18 Jul 2017 10:33:59 +0000 (11:33 +0100)
commitb9cd216f74411a699c3e5ce3d25a375af37f096c
tree76d18118b3b8f651e657134bc032ffda6759d153
parent2fe3669f9b1ef13ba6f9600033ad9cdae2796a14
tools/xen-mceinj: add support of injecting LMCE

If option '-l' or '--lmce' is specified and the host supports LMCE,
xen-mceinj will inject LMCE to CPU specified by '-c' (or CPU0 if '-c'
is not present).

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/tests/mce-test/tools/xen-mceinj.c