From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: Fixing nested SVM event injection Date: Mon, 13 Jun 2016 11:20:00 +0200 Message-ID: <20160613092000.GD29948@suse.de> References: <5742B382.2050006@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Bandan Das , kvm To: Jan Kiszka Return-path: Received: from mx2.suse.de ([195.135.220.15]:33796 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964844AbcFMJV6 (ORCPT ); Mon, 13 Jun 2016 05:21:58 -0400 Content-Disposition: inline In-Reply-To: <5742B382.2050006@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: 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... Joerg