Re: nmi is broken?

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

 



OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> writes:

>> Maybe it's a regression of latest NMI injection patches.
>>
>> This worked before? Can you check if commits
>> c2dd554dc61173ecb6b3741b680d2ae4c245d2ba and
>> f86368493ec038218e8663cc1b6e5393cd8e008a have any impact on your problem?
>
> Unfortunately, no. I've checked kvm_inject_nmi() was not called if irq
> was disabled on guest.

To make sure situation, NMI is working if irq is enabled.

> The path is following (without my patch, kvm_apic_nmi_wd_deliver is not
> called),
>
> pit_do_work()
>     kvm_apic_nmi_wd_deliver()
>         kvm_apic_local_deliver()
>             __apic_accept_irq()
>                 kvm_inject_nmi()
>
> so it is not meaningful to change after kvm_inject_nmi() (if I'm
> understanding commits correctly).
>
> Thanks.

-- 
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
--
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