mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
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>
This commit is contained in:
parent
4a8027363e
commit
76acef2b73
3 changed files with 6 additions and 13 deletions
|
@ -701,17 +701,6 @@ static const MemoryListener xen_pt_io_listener = {
|
|||
.priority = 10,
|
||||
};
|
||||
|
||||
static void
|
||||
xen_igd_passthrough_isa_bridge_create(XenPCIPassthroughState *s,
|
||||
XenHostPCIDevice *dev)
|
||||
{
|
||||
uint16_t gpu_dev_id;
|
||||
PCIDevice *d = &s->dev;
|
||||
|
||||
gpu_dev_id = dev->device_id;
|
||||
igd_passthrough_isa_bridge_create(pci_get_bus(d), gpu_dev_id);
|
||||
}
|
||||
|
||||
/* destroy. */
|
||||
static void xen_pt_destroy(PCIDevice *d) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue