On 20/02/2023 20:47, David Woodhouse wrote:
From: David Woodhouse <[email protected]>

Every caller of xen_be_init() checks and exits on error, then calls
xen_be_register_common(). Just make xen_be_init() abort for itself and
return void, and register the common devices too.

Signed-off-by: David Woodhouse <[email protected]>
---
  hw/i386/xen/xen-hvm.c               |  8 +----
  hw/xen/xen-legacy-backend.c         | 56 ++++++++++++-----------------
  hw/xenpv/xen_machine_pv.c           |  6 +---
  include/hw/xen/xen-legacy-backend.h |  3 +-
  4 files changed, 25 insertions(+), 48 deletions(-)


Reviewed-by: Paul Durrant <[email protected]>


Reply via email to