]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/xen/xen-hvm-common: skip ioreq creation on ioreq registration failure
authorStefano Stabellini <stefano.stabellini@amd.com>
Tue, 31 Jan 2023 22:51:45 +0000 (14:51 -0800)
committerStefano Stabellini <stefano.stabellini@amd.com>
Tue, 14 Feb 2023 23:39:25 +0000 (15:39 -0800)
commitdd7aa6f5dc164601e6e1aa9af9536fe4af96a72b
treed17b77817369779009c4b4cb9f3347bfc760313e
parentc497850dd61ee1043249ab263a92d49f26ef175a
hw/xen/xen-hvm-common: skip ioreq creation on ioreq registration failure

On ARM it is possible to have a functioning xenpv machine with only the
PV backends and no IOREQ server. If the IOREQ server creation fails continue
to the PV backends initialization.

Also, moved the IOREQ registration and mapping subroutine to new function
xen_do_ioreq_register().

Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Signed-off-by: Vikram Garhwal <vikram.garhwal@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Paul Durrant <paul@xen.org>
hw/xen/xen-hvm-common.c