happens
on LINT1. But qemu/kvm inject-nmi feature had a bug that it sent NMI to
CPUs without emulating LAPIC LVT. As a result, NMI interrupt is sent to
all the CPUs even though LVT LINT1 is not configured. This is why
inject-nmi behaves as if it works well on Windows guest.
Regards,
Kenji Kaneshige
were already reviewed by seabios people, but need ack from
qemu/kvm
side.
Regards,
Kenji Kaneshige
(2011/10/10 15:06), Lai Jiangshan wrote:
From: Kenji Kaneshigekaneshige.ke...@jp.fujitsu.com
ACPI NMI Structure describes LINT pin (LINT0 or LINT1) information to
which NMI is connected
irq is not changed.
Regards,
Kenji Kaneshige
+ kvm_inject_nmi(vcpu);
+
+ return 0;
+}
+#else
static int kvm_vcpu_ioctl_nmi(struct kvm_vcpu *vcpu)
{
kvm_inject_nmi(vcpu);
return 0;
}
+#endif
I don't think we need to keep old kvm_vcpu_ioctl_nmi() behavior because
it's clearly a bug.
Regards,
Kenji Kaneshige