OSDN Git Service

hw/i386/xen/xen-hvm: Inline xen_piix_pci_write_config_client() and remove it
authorBernhard Beschow <shentey@gmail.com>
Sun, 26 Jun 2022 09:46:56 +0000 (11:46 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 28 Jun 2022 22:24:59 +0000 (00:24 +0200)
commitc379bd7551f34e42c4c935783c0c08bab41d70c1
tree3023c1a4254f7939591c316fb25312fe1e149dc1
parent21d87050af66f50c8d394a160e89560ceaa6bd5d
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>
hw/i386/xen/xen-hvm.c
hw/isa/piix3.c
include/hw/xen/xen.h
stubs/xen-hw-stub.c