From: David Woodhouse <dwmw@amazon.co.uk>
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 <dwmw@amazon.co.uk>
---
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(-)