Re: Fixing nested SVM event injection

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

 



On 2016-06-13 11:20, Joerg Roedel wrote:
> On Mon, May 23, 2016 at 09:38:42AM +0200, Jan Kiszka wrote:
>> But now I'm loosing interrupts for L2 (keep in mind: under Jailhouse, L1
>> takes no interrupts, only NMIs, L2 will get them all). The pattern is
>> that an interrupt is received and accepted over L1, but I'm not seeing
>> it being injected into L2 after vmrun. What should ensure the injection
>> when switching to guest mode?
> 
> Does Jailhouse forward the IRQs from L1 to L2 or will they just
> pass-through? The nested-svm code checks whether the L2 is supposed to
> get the IRQs directly, and injects them if so. At least that is how it
> should work, there might be bugs somewhere...
> 

Jailhouse doesn't take any interrupts (just NMIs) and instead allows
them to be injected while the guest runs.

I've started to port the logic we developed and stabilized on Intel for
injecting and cancelling events around L1<->L2 transitions (e.g.
check_nested_events callback). The result was some progress but still
also some lost events. Need to debug this further.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux
--
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