summaryrefslogtreecommitdiffstats
path: root/include/hw/xen
diff options
context:
space:
mode:
authorBernhard Beschow2022-06-26 11:46:56 +0200
committerLaurent Vivier2022-06-29 00:24:59 +0200
commitc379bd7551f34e42c4c935783c0c08bab41d70c1 (patch)
tree3023c1a4254f7939591c316fb25312fe1e149dc1 /include/hw/xen
parenthw/i386/xen/xen-hvm: Allow for stubbing xen_set_pci_link_route() (diff)
downloadqemu-c379bd7551f34e42c4c935783c0c08bab41d70c1.tar.gz
qemu-c379bd7551f34e42c4c935783c0c08bab41d70c1.tar.xz
qemu-c379bd7551f34e42c4c935783c0c08bab41d70c1.zip
hw/i386/xen/xen-hvm: Inline xen_piix_pci_write_config_client() and remove it
xen_piix_pci_write_config_client() is implemented in the xen sub tree and uses PIIX constants internally, thus creating a direct dependency on PIIX. Now that xen_set_pci_link_route() is stubbable, the logic of xen_piix_pci_write_config_client() can be moved to PIIX which resolves the dependency. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Paul Durrant <paul@xen.org> Message-Id: <20220626094656.15673-3-shentey@gmail.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/hw/xen')
-rw-r--r--include/hw/xen/xen.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/xen/xen.h b/include/hw/xen/xen.h
index 13bffaef53..afdf9c436a 100644
--- a/include/hw/xen/xen.h
+++ b/include/hw/xen/xen.h
@@ -23,7 +23,6 @@ extern bool xen_domid_restrict;
int xen_pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num);
int xen_set_pci_link_route(uint8_t link, uint8_t irq);
void xen_piix3_set_irq(void *opaque, int irq_num, int level);
-void xen_piix_pci_write_config_client(uint32_t address, uint32_t val, int len);
void xen_hvm_inject_msi(uint64_t addr, uint32_t data);
int xen_is_pirq_msi(uint32_t msi_data);