On Tue, Dec 06, 2011 at 10:42:55PM +0200, Sasha Levin wrote: > +static void handle_nmi(int fd, u32 type, u32 len, u8 *msg) > +{ > + u32 vcpu = *(u32 *)msg; > + > + ioctl(kvm_cpus[vcpu]->vcpu_fd, KVM_NMI); You need to check that vcpu apic's LINT1 is configured to receive NMI (and not masked obviously) before injecting NMI. -- Gleb. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html