Re: [PATCH] kvm tools: Add 'kvm nmi' command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux