From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUVYn-0002NA-Pm for qemu-devel@nongnu.org; Wed, 05 Dec 2018 06:41:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUVYk-0005rD-KV for qemu-devel@nongnu.org; Wed, 05 Dec 2018 06:41:45 -0500 Received: from smtp03.citrix.com ([162.221.156.55]:56845) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gUVYk-0005pX-Bi for qemu-devel@nongnu.org; Wed, 05 Dec 2018 06:41:42 -0500 Date: Wed, 5 Dec 2018 11:41:32 +0000 From: Anthony PERARD Message-ID: <20181205114132.GA1259@perard.uk.xensource.com> References: <20181205075830.15678-1-yan.y.zhao@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181205075830.15678-1-yan.y.zhao@intel.com> Subject: Re: [Qemu-devel] [PATCH v4] xen/pt: allow passthrough of devices with bogus interrupt pin List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhao Yan Cc: qemu-devel@nongnu.org, sstabellini@kernel.org, xen-devel@lists.xenproject.org, Roger Pau =?iso-8859-1?Q?Monn=E9?= , Jan Beulich On Wed, Dec 05, 2018 at 02:58:30AM -0500, Zhao Yan wrote: > For some pci device, even its PCI_INTERRUPT_PIN is not 0, it actually > doesn't support INTx mode, so its machine irq read from host sysfs is 0. > In that case, report PCI_INTERRUPT_PIN as 0 to guest and let passthrough > continue. > > Cc: Roger Pau Monné > Cc: Jan Beulich > Reviewed-by: Roger Pau Monné > Signed-off-by: Zhao Yan Acked-by: Anthony PERARD Thanks, -- Anthony PERARD