]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/xen: Subsume xen_be_register_common() into xen_be_init() xenfv-kvm-12
authorDavid Woodhouse <dwmw@amazon.co.uk>
Wed, 15 Feb 2023 15:05:26 +0000 (16:05 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 20 Feb 2023 18:03:50 +0000 (18:03 +0000)
commita2e7c5e8a1966ff5090bca876ea1768038e0aed7
tree97236b6dc8e86b883e1e0560e48e3253dcfafa04
parent733c527d2c79c25b32715f89722dd27b5ef24a36
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>
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