[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] intel gpu passthrough: Expose vendor specificpci cap on host bridge.


  • To: "Jean Guyader" <jean.guyader@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: <djmagee@xxxxxxxxxxxx>
  • Date: Mon, 16 Jan 2012 21:50:30 -0500
  • Delivery-date: Tue, 17 Jan 2012 02:51:48 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AczUXZEW1GAOiNjDQCidFbChJ+FwhgAZLekA
  • Thread-topic: [Xen-devel] [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@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jean Guyader
Sent: Monday, January 16, 2012 9:40 AM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: Ian.Jackson@xxxxxxxxxxxxx; allen.m.kay@xxxxxxxxx; 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@xxxxxxxxxxxxx>
---
 hw/pt-graphics.c |   51 ++++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 46 insertions(+), 5 deletions(-)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.