From: Francois Romieu Subject: Re: [PATCH] vfio-pci: Quirk RTL8168 NIC Date: Mon, 12 May 2014 22:02:37 +0200 Message-ID: <20140512200237.GA2418@electric-eye.fr.zoreil.com> References: <20140510230225.17688.6353.stgit@bling.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org To: Alex Williamson Return-path: Received: from violet.fr.zoreil.com ([92.243.8.30]:39721 "EHLO violet.fr.zoreil.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755170AbaELUCo (ORCPT ); Mon, 12 May 2014 16:02:44 -0400 Content-Disposition: inline In-Reply-To: <20140510230225.17688.6353.stgit@bling.home> Sender: kvm-owner@vger.kernel.org List-ID: Alex Williamson : [...] > device MSI will be blocked. The Linux driver doesn't make use of this > window, so apparently it's not required to make use of MSI-X. This It does not really use MSI-X (no RSS). > quirk makes the device work with the Windows driver that does use this > window for MSI-X, but I certainly cannot recommend this device for > assignment (the Windows 7 driver also constantly pokes PCI config > space). Do you have some offsets for those ? > diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c > index 9cf5b84..c3d2f7a 100644 > --- a/hw/misc/vfio.c > +++ b/hw/misc/vfio.c [...] > + * "address latched" indicator. Bits 12:15 is a mask field, which we're > + * going to ignore because we don't really know what it means and the MSI-X > + * area always seems to be accessed with a full mask. s/seems to/should always/ Double word accesses requires the full mask. The MSIX area should be accessed through double words. -- Ueimor