]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/xen/xen-hvm-common: skip ioreq creation on ioreq registration failure
authorStefano Stabellini <stefano.stabellini@amd.com>
Thu, 15 Jun 2023 00:03:34 +0000 (17:03 -0700)
committerStefano Stabellini <stefano.stabellini@amd.com>
Thu, 15 Jun 2023 23:46:08 +0000 (16:46 -0700)
commit5ff5c8da948895ceb6ce42408e974488d08ba2d3
treecaf64be2c6d2fd0648ca8555d266a5dc1bada128
parent420927c218a96c6a39cb5b1516e011506f33f68a
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