]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/xen: Subsume xen_be_register_common() into xen_be_init() xenfv-kvm-14
authorDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 15 Feb 2023 15:05:26 +0000 (16:05 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 27 Feb 2023 11:01:28 +0000 (11:01 +0000)
commitbbd2665d1e99dd07f5db924f6d0322b782a43382
tree530502e12609aa2d8f6c849db11ded54669ce57a
parent1c3f99eb944e969e64ac81f66cfe58b58af544bc
hw/xen: Subsume xen_be_register_common() into xen_be_init()

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>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/i386/xen/xen-hvm.c
hw/xen/xen-legacy-backend.c
hw/xenpv/xen_machine_pv.c
include/hw/xen/xen-legacy-backend.h