In case we ever have to debug possibly NMI-related issues of the guest,
it may help to correlate them with the VNMI emulation for older VMX
CPUs.

Signed-off-by: Jan Kiszka <[EMAIL PROTECTED]>
---
 arch/x86/kvm/vmx.c |    4 ++++
 1 file changed, 4 insertions(+)

Index: b/arch/x86/kvm/vmx.c
===================================================================
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -3671,6 +3671,10 @@ static int __init vmx_init(void)
 
        ept_sync_global();
 
+       if (!cpu_has_virtual_nmis())
+               printk(KERN_WARNING
+                      "kvm: emulating NMI window via interrupt window\n");
+
        return 0;
 
 out2:

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to