qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 27/28] hw/xen: use qemu_create_nic_bus_devices() to instan


From: Durrant, Paul
Subject: Re: [PATCH v3 27/28] hw/xen: use qemu_create_nic_bus_devices() to instantiate Xen NICs
Date: Fri, 27 Oct 2023 10:52:17 +0100
User-agent: Mozilla Thunderbird

On 25/10/2023 15:50, David Woodhouse wrote:
From: David Woodhouse <dwmw@amazon.co.uk>

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 launch emulated Xen guests with '-nic user', and this 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>
---
  hw/xen/xen-bus.c                    |  4 ++++
  hw/xen/xen_devconfig.c              | 25 -------------------------
  hw/xenpv/xen_machine_pv.c           |  9 ---------
  include/hw/xen/xen-legacy-backend.h |  1 -
  4 files changed, 4 insertions(+), 35 deletions(-)


Yay! I've been wanting this for years but ETIME.

Reviewed-by: Paul Durrant <paul@xen.org>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]