Jean Guyader
2012-Jan-16 14:40 UTC
[PATCH] intel gpu passthrough: Expose vendor specific pci cap on host bridge.
Some versions of the Windows Intel GPU driver expect the vendor PCI capability to be there on the host bridge config space when passing through a Intel GPU. Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com> --- hw/pt-graphics.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 46 insertions(+), 5 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jean Guyader
2012-Jan-16 15:04 UTC
Re: [PATCH] intel gpu passthrough: Expose vendor specific pci cap on host bridge.
On 16/01 02:40, Jean Guyader wrote:> > Some versions of the Windows Intel GPU driver expect the vendor > PCI capability to be there on the host bridge config space when > passing through a Intel GPU. > > Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>From: Ross Philipson <Ross.Philipson@citrix.com> Jean
Ross Philipson
2012-Jan-16 15:11 UTC
Re: [PATCH] intel gpu passthrough: Expose vendor specific pci cap on host bridge.
> -----Original Message----- > From: Jean Guyader [mailto:jean.guyader@eu.citrix.com] > Sent: Monday, January 16, 2012 10:05 AM > To: xen-devel@lists.xensource.com > Cc: allen.m.kay@intel.com; Ian Jackson; Jean Guyader; Ross Philipson > Subject: Re: [PATCH] intel gpu passthrough: Expose vendor specific pci > cap on host bridge. > > On 16/01 02:40, Jean Guyader wrote: > > > > Some versions of the Windows Intel GPU driver expect the vendor PCI > > capability to be there on the host bridge config space when passing > > through a Intel GPU. > > > > Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com> > From: Ross Philipson <Ross.Philipson@citrix.com> > > JeanAcked-by: Ross Philipson <Ross.Philipson@citrix.com>
<djmagee@mageenet.net>
2012-Jan-17 02:50 UTC
Re: [PATCH] intel gpu passthrough: Expose vendor specificpci cap on host bridge.
This always fails because it checks cap_type before it''s set. Moving the pt_pci_host_read call before the check gets rid of these messages in qemu log: pcilib: sysfs_read: read failed: Invalid argument -----Original Message----- From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Jean Guyader Sent: Monday, January 16, 2012 9:40 AM To: xen-devel@lists.xensource.com Cc: Ian.Jackson@eu.citrix.com; allen.m.kay@intel.com; Jean Guyader Subject: [Xen-devel] [PATCH] intel gpu passthrough: Expose vendor specificpci cap on host bridge. Some versions of the Windows Intel GPU driver expect the vendor PCI capability to be there on the host bridge config space when passing through a Intel GPU. Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com> --- hw/pt-graphics.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 46 insertions(+), 5 deletions(-)
Jean Guyader
2012-Jan-17 13:50 UTC
Re: [PATCH] intel gpu passthrough: Expose vendor specificpci cap on host bridge.
On 17/01 02:50, djmagee@mageenet.net wrote:> This always fails because it checks cap_type before it''s set. Moving the pt_pci_host_read call before the check gets rid of these messages in qemu log: > > pcilib: sysfs_read: read failed: Invalid argument >This error is due to a missing patch that should be applied before this one. I''ll resend the patch within a serie that will include the extra patch. Thanks for your review. Jean