[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4] xen-hvm: stop faking I/O to access PCI confi
From: |
Anthony PERARD |
Subject: |
Re: [Qemu-devel] [PATCH v4] xen-hvm: stop faking I/O to access PCI config space |
Date: |
Fri, 18 May 2018 16:31:40 +0100 |
User-agent: |
Mutt/1.9.5 (2018-04-13) |
On Fri, May 18, 2018 at 03:38:30PM +0100, Paul Durrant wrote:
> 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 <address@hidden>
Reviewed-by: Anthony PERARD <address@hidden>
--
Anthony PERARD