kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] KVM: VMX: Report VNMI emulation
@ 2008-10-01  8:24 Jan Kiszka
  0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2008-10-01  8:24 UTC (permalink / raw)
  To: kvm-devel; +Cc: Avi Kivity, Gleb Natapov, Yang, Sheng

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 <jan.kiszka@siemens.com>
---
 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:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-01  8:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-01  8:24 [PATCH] KVM: VMX: Report VNMI emulation Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).