Mailing List Archive

[PATCH] Crash VMX when guest NMI.
Crash VMX when guest NMI.
It's meanless to call do_nmi of Xen HV when guest NMI, and acturally
guest NMI can only be injected, is it possible to happen inside guest?

Signed-off-by: Xin Li <xin.b.li@intel.com>
Re: [PATCH] Crash VMX when guest NMI. [ In reply to ]
On 8/11/06 13:13, "Li, Xin B" <xin.b.li@intel.com> wrote:

> Crash VMX when guest NMI.
> It's meanless to call do_nmi of Xen HV when guest NMI, and acturally
> guest NMI can only be injected, is it possible to happen inside guest?
>
> Signed-off-by: Xin Li <xin.b.li@intel.com>

That path is taken for real NMIs. We shouldn't take it for exceptions on
vector 2 as bit 2 is not set in the exception-intercept bitmap.

However, I'll add a patch to actually check the INTRO_INFO_TYPE_MASK before
calling do_nmi(). Certainly we should only do_nmi() if the type is NMI (2).

-- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel