From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQvOv-0002NA-0L for qemu-devel@nongnu.org; Mon, 18 Dec 2017 08:24:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQvOu-0006ro-6s for qemu-devel@nongnu.org; Mon, 18 Dec 2017 08:24:13 -0500 Date: Mon, 18 Dec 2017 11:23:54 -0200 From: Eduardo Habkost Message-ID: <20171218132354.GB31737@localhost.localdomain> References: <20171212053649.1109-1-ybettan@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171212053649.1109-1-ybettan@redhat.com> Subject: Re: [Qemu-devel] [PATCH V4] pci: removed the is_express field since a uniform interface was inserted List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yoni Bettan Cc: qemu-devel@nongnu.org, Kevin Wolf , Hannes Reinecke , "open list:nvme" , "Michael S. Tsirkin" , Alex Williamson , Max Reitz , Keith Busch , Dmitry Fleytman , Paul Burton , Gerd Hoffmann , Marcel Apfelbaum , Paolo Bonzini , Jason Wang On Tue, Dec 12, 2017 at 07:36:49AM +0200, Yoni Bettan wrote: > * according to Eduardo Habkost's commit > fd3b02c8896d597dd8b9e053dec579cf0386aee1 > > * since all PCIEs now implement INTERFACE_PCIE_DEVICE we > don't need this field anymore > > * Devices that where only INTERFACE_PCIE_DEVICE (is_express == 1) > or > devices that where only INTERFACE_CONVENTIONAL_PCI_DEVICE (is_express == 0) > where not affected by the change > > The only devices that were affected are those that are hybrid and also > had (is_express == 1) - therefor only: > - hw/vfio/pci.c > - hw/usb/hcd-xhci.c Oops, we now have xen-pt too. See: From: Simon Gaiser Date: Sat, 28 Oct 2017 04:53:15 +0200 Message-Id: <20171028025315.13500-1-hw42@ipsumj.de> Subject: [PATCH] xen/pt: Set is_express to avoid out-of-bounds write Which was included in a pull request sent on last Thursday. > > For both I made sure that QEMU_PCI_CAP_EXPRESS is on > > Signed-off-by: Yoni Bettan [...] -- Eduardo