From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAHaH-0007xb-DP for qemu-devel@nongnu.org; Tue, 07 Jun 2016 10:02:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAHaA-0001Ow-AM for qemu-devel@nongnu.org; Tue, 07 Jun 2016 10:02:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAHaA-0001Or-4Z for qemu-devel@nongnu.org; Tue, 07 Jun 2016 10:02:14 -0400 Date: Tue, 7 Jun 2016 22:02:07 +0800 From: Peter Xu Message-ID: <20160607140207.GF1039@pxdev.xzpeter.org> References: <1463484370-7484-1-git-send-email-peterx@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1463484370-7484-1-git-send-email-peterx@redhat.com> Subject: Re: [Qemu-devel] [PATCH v4] fix pci_requester_id() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mst@redhat.com, pbonzini@redhat.com, jan.kiszka@web.de, rkrcmar@redhat.com, alex.williamson@redhat.com Ping? On Tue, May 17, 2016 at 07:26:09PM +0800, Peter Xu wrote: > v4 changes: > > Introduced PCIReqIDCache struct. Since PCI bus number may be > changing during time, we need to cache the device that we can fetch > requester_id from. Meanwhile, we need to cache how we should extract > reqid from the cache. Currently there are two kinds: > > - BDF: directly fetch BDF from the cached device > - SECONDARY_BUS: this is only used when device are under pcie-to-pci > bridges. > > Thanks, > > Peter Xu (1): > pci: fix pci_requester_id() > > hw/i386/kvm/pci-assign.c | 2 +- > hw/pci/pci.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++ > include/hw/pci/pci.h | 26 +++++++++++++++-- > 3 files changed, 101 insertions(+), 3 deletions(-) > > -- > 2.4.11 >