/openbmc/qemu/hw/xen/ |
H A D | xen_devconfig.c | diff 7d6eff13b3e10efbed9b01fa4eb9515acd86dcf7 Tue Oct 17 11:53:58 CDT 2023 David Woodhouse <dwmw@amazon.co.uk> 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>
|
H A D | xen-bus.c | diff 7d6eff13b3e10efbed9b01fa4eb9515acd86dcf7 Tue Oct 17 11:53:58 CDT 2023 David Woodhouse <dwmw@amazon.co.uk> 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>
|
/openbmc/qemu/include/hw/xen/ |
H A D | xen-legacy-backend.h | diff 7d6eff13b3e10efbed9b01fa4eb9515acd86dcf7 Tue Oct 17 11:53:58 CDT 2023 David Woodhouse <dwmw@amazon.co.uk> 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>
|
H A D | xen-bus.h | diff 7d6eff13b3e10efbed9b01fa4eb9515acd86dcf7 Tue Oct 17 11:53:58 CDT 2023 David Woodhouse <dwmw@amazon.co.uk> 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>
|
/openbmc/qemu/hw/xenpv/ |
H A D | xen_machine_pv.c | diff 7d6eff13b3e10efbed9b01fa4eb9515acd86dcf7 Tue Oct 17 11:53:58 CDT 2023 David Woodhouse <dwmw@amazon.co.uk> 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>
|
/openbmc/qemu/hw/i386/ |
H A D | pc_q35.c | diff 7d6eff13b3e10efbed9b01fa4eb9515acd86dcf7 Tue Oct 17 11:53:58 CDT 2023 David Woodhouse <dwmw@amazon.co.uk> 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>
|
H A D | pc_piix.c | diff 7d6eff13b3e10efbed9b01fa4eb9515acd86dcf7 Tue Oct 17 11:53:58 CDT 2023 David Woodhouse <dwmw@amazon.co.uk> 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>
|
H A D | pc.c | diff 7d6eff13b3e10efbed9b01fa4eb9515acd86dcf7 Tue Oct 17 11:53:58 CDT 2023 David Woodhouse <dwmw@amazon.co.uk> 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>
|
/openbmc/qemu/include/hw/i386/ |
H A D | pc.h | diff 7d6eff13b3e10efbed9b01fa4eb9515acd86dcf7 Tue Oct 17 11:53:58 CDT 2023 David Woodhouse <dwmw@amazon.co.uk> 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>
|