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

[Xen-devel] [PATCH v4 0/8] igd passthrough chipset tweaks



  Hi,

Next version of the patches, after a longish break.

Meanwhile it is more clear how we are going to handle the igd
passthrough quirks with kvm:  vfio will get support for device-specific
regions, and we will use that for the opregion and also to provide
unpriviledged read access to host bridge (00:00.0) and isa bridge
(00:1f,0) pci config space.

That implies we wouldn't share the code for pci config space access
and the existing xen code wouldn't be reused for kvm, except maybe for
the struct IGDHostInfo tables.

Separating out the igd support code into its own file and the cleanups +
bugfixes on top of that still make sense though.  So here we go with a
stripped down patch series ...

cheers,
  Gerd

Gerd Hoffmann (8):
  pc: remove has_igd_gfx_passthru global
  pc: move igd support code to igd.c
  igd: switch TYPE_IGD_PASSTHROUGH_I440FX_PCI_DEVICE to realize
  igd: TYPE_IGD_PASSTHROUGH_I440FX_PCI_DEVICE: call parent realize
  igd: use defines for standard pci config space offsets
  igd: revamp host config read
  igd: move igd-passthrough-isa-bridge to igd.c too
  igd: handle igd-passthrough-isa-bridge setup in realize()

 default-configs/x86_64-softmmu.mak |   1 +
 hw/i386/pc_piix.c                  | 115 +--------------------------
 hw/pci-host/Makefile.objs          |   3 +
 hw/pci-host/igd.c                  | 157 +++++++++++++++++++++++++++++++++++++
 hw/pci-host/piix.c                 |  90 ---------------------
 hw/xen/xen_pt.c                    |   4 +-
 hw/xen/xen_pt.h                    |   5 +-
 include/hw/i386/pc.h               |   2 +-
 vl.c                               |  10 ---
 9 files changed, 167 insertions(+), 220 deletions(-)
 create mode 100644 hw/pci-host/igd.c

-- 
1.8.3.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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