* [RESEND][PATCH] KVM: VMX: Report VNMI emulation
@ 2008-10-23 8:23 Jan Kiszka
2008-10-26 14:21 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2008-10-23 8:23 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] 2+ messages in thread
* Re: [RESEND][PATCH] KVM: VMX: Report VNMI emulation
2008-10-23 8:23 [RESEND][PATCH] KVM: VMX: Report VNMI emulation Jan Kiszka
@ 2008-10-26 14:21 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-10-26 14:21 UTC (permalink / raw)
To: Jan Kiszka; +Cc: kvm-devel, Gleb Natapov, Yang, Sheng
Jan Kiszka wrote:
> 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");
> +
>
>
This is best done via /proc/cpuinfo... (vnmi or vmx_vnmi) what's the
status on those patches?
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-26 14:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-23 8:23 [RESEND][PATCH] KVM: VMX: Report VNMI emulation Jan Kiszka
2008-10-26 14:21 ` Avi Kivity
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).