diff options
author | Bernhard Beschow <shentey@gmail.com> | 2022-03-26 17:58:24 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-05-12 12:07:06 +0200 |
commit | 76acef2b735729c642c54385b7566de509506d9a (patch) | |
tree | f7009111f0dd5876802fd5694c0f6b733e43248b /hw/xen/xen_pt.h | |
parent | 4a8027363e9680d00786622ee786fc3ccd6b970b (diff) | |
download | qemu-76acef2b735729c642c54385b7566de509506d9a.zip qemu-76acef2b735729c642c54385b7566de509506d9a.tar.gz qemu-76acef2b735729c642c54385b7566de509506d9a.tar.bz2 |
hw/xen/xen_pt: Resolve igd_passthrough_isa_bridge_create() indirection
Now that igd_passthrough_isa_bridge_create() is implemented within the
xen context it may use Xen* data types directly and become
xen_igd_passthrough_isa_bridge_create(). This resolves an indirection.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Message-Id: <20220326165825.30794-3-shentey@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/xen/xen_pt.h')
-rw-r--r-- | hw/xen/xen_pt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/xen/xen_pt.h b/hw/xen/xen_pt.h index 806d832..e7c4316 100644 --- a/hw/xen/xen_pt.h +++ b/hw/xen/xen_pt.h @@ -43,7 +43,8 @@ OBJECT_DECLARE_SIMPLE_TYPE(XenPCIPassthroughState, XEN_PT_DEVICE) uint32_t igd_read_opregion(XenPCIPassthroughState *s); void igd_write_opregion(XenPCIPassthroughState *s, uint32_t val); -void igd_passthrough_isa_bridge_create(PCIBus *bus, uint16_t gpu_dev_id); +void xen_igd_passthrough_isa_bridge_create(XenPCIPassthroughState *s, + XenHostPCIDevice *dev); /* function type for config reg */ typedef int (*xen_pt_conf_reg_init) |