qemu/hw/i386/xen
Paul Durrant dfb6578d69 xen-hvm: stop faking I/O to access PCI config space
This patch removes the current hackery where IOREQ_TYPE_PCI_CONFIG
requests are handled by faking PIO to 0xcf8 and 0xcfc and replaces it
with direct calls to pci_host_config_read/write_common().
Doing so necessitates mapping BDFs to PCIDevices but maintaining a simple
QLIST in xen_device_realize/unrealize() will suffice.

NOTE: whilst config space accesses are currently limited to
      PCI_CONFIG_SPACE_SIZE, this patch paves the way to increasing the
      limit to PCIE_CONFIG_SPACE_SIZE when Xen gains the ability to
      emulate MCFG table accesses.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
2018-05-31 12:05:01 -07:00
..
Makefile.objs move xen-mapcache.c to hw/i386/xen/ 2017-04-25 11:04:34 -07:00
trace-events xen-hvm: stop faking I/O to access PCI config space 2018-05-31 12:05:01 -07:00
xen_apic.c apic: add send_msi() to APICCommonClass 2016-10-17 15:44:49 -02:00
xen_platform.c Merge remote-tracking branch 'origin/master' into HEAD 2018-01-11 22:03:50 +02:00
xen_pvdevice.c xen-pvdevice: Introduce a simplistic xen-pvdevice save state 2018-05-18 11:01:20 -07:00
xen-hvm.c xen-hvm: stop faking I/O to access PCI config space 2018-05-31 12:05:01 -07:00
xen-mapcache.c xen/hvm: correct reporting of modified memory under physmap during migration 2018-05-31 12:04:54 -07:00