qemu-e2k/include/hw/xen
David Woodhouse 7d6eff13b3 hw/xen: use qemu_create_nic_bus_devices() to instantiate Xen NICs
When instantiating XenBus itself, for each NIC which is configured with
either the model unspecified, or set to to "xen" or "xen-net-device",
create a corresponding xen-net-device for it.

Now we can revert the previous more hackish version which relied on the
platform code explicitly registering the NICs on its own XenBus, having
returned the BusState* from xen_bus_init() itself.

This also fixes the setup for Xen PV guests, which was previously broken
in various ways and never actually managed to peer with the netdev.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
2024-02-02 16:23:47 +00:00
..
interface include: update Xen public headers to Xen 4.17.2 release 2023-11-07 08:54:20 +00:00
arch_hvm.h hw/arm: introduce xenpvh machine 2023-06-15 16:46:47 -07:00
start_info.h Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
xen_backend_ops.h hw/xen: Add xenstore operations to allow redirection to internal emulation 2023-03-07 17:04:30 +00:00
xen_native.h xen: fix condition for skipping virtio-mmio defines 2023-12-12 11:18:32 +01:00
xen_pvdev.h hw/xen: Rename xen_common.h to xen_native.h 2023-03-07 17:04:30 +00:00
xen-backend.h hw/xen: do not repeatedly try to create a failing backend device 2023-11-07 08:54:20 +00:00
xen-block.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
xen-bus-helper.h hw/xen: Add xenstore operations to allow redirection to internal emulation 2023-03-07 17:04:30 +00:00
xen-bus.h hw/xen: use qemu_create_nic_bus_devices() to instantiate Xen NICs 2024-02-02 16:23:47 +00:00
xen-hvm-common.h include: Clean up includes 2024-01-30 21:20:20 +03:00
xen-legacy-backend.h hw/xen: use qemu_create_nic_bus_devices() to instantiate Xen NICs 2024-02-02 16:23:47 +00:00
xen-x86.h hw/xen: Split x86-specific declaration from generic hardware ones 2020-09-30 19:11:36 +02:00
xen.h include/hw/xen/xen: Rename xen_piix3_set_irq() to xen_intx_set_irq() 2023-06-07 15:07:10 +01:00