On 02/03/2010 06:14 PM, Anthony Liguori wrote:
aren't we putting the cart before the horse here?
qemu has support for triggering MCEs on the monitor.
Also the KVM code base has support for forwarding the MCEs
automatically.
KVM has all of the information you need (guest physical -> host
physical mapping). It can also pin the mapping making it much safer
to interface at that level. You should probably add an ioctl
interface to KVM to get a host physical from a given guest physical
and then use that to do the MCE injection. You would need to write a
little helper tool and you would need a way to get an fd for an
existing guest.
It would be simpler to trigger the whole thing from within qemu.
--
error compiling committee.c: too many arguments to function