Skip to content
Snippets Groups Projects
Commit 21d87050 authored by Bernhard Beschow's avatar Bernhard Beschow Committed by Laurent Vivier
Browse files

hw/i386/xen/xen-hvm: Allow for stubbing xen_set_pci_link_route()


The only user of xen_set_pci_link_route() is
xen_piix_pci_write_config_client() which implements PIIX-specific logic in
the xen namespace. This makes xen-hvm depend on PIIX which could be
avoided if xen_piix_pci_write_config_client() was implemented in PIIX. In
order to do this, xen_set_pci_link_route() needs to be stubbable which
this patch addresses.

Signed-off-by: default avatarBernhard Beschow <shentey@gmail.com>
Reviewed-by: default avatarPaul Durrant <paul@xen.org>
Message-Id: <20220626094656.15673-2-shentey@gmail.com>
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent 99337bd1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment