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

Re: [PATCH v2 5/7] hw/xen: initialize legacy backends from xen_bus_init()



On 10/05/2024 11:49, Philippe Mathieu-Daudé wrote:
From: Paolo Bonzini <pbonzini@xxxxxxxxxx>

Prepare for moving the calls to xen_be_register() under the
control of xen_bus_init(), using the normal xen_backend_init()
method that is used by the "modern" backends.

This requires the xenstore global variable to be initialized,
which is done by xen_be_init().  To ensure that everything is
ready at the time the xen_backend_init() functions are called,
remove the xen_be_init() function from all the boards and
place it directly in xen_bus_init().

Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>
Message-ID: <20240509170044.190795-7-pbonzini@xxxxxxxxxx>
Signed-off-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>
---
  hw/i386/pc.c              | 1 -
  hw/xen/xen-bus.c          | 4 ++++
  hw/xen/xen-hvm-common.c   | 2 --
  hw/xenpv/xen_machine_pv.c | 5 +----
  4 files changed, 5 insertions(+), 7 deletions(-)


Reviewed-by: Paul Durrant <paul@xxxxxxx>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.