include/hw/xen/xen_common: return error from xen_create_ioreq_server
authorStefano Stabellini <stefano.stabellini@amd.com>
Thu, 15 Jun 2023 00:03:33 +0000 (17:03 -0700)
committerStefano Stabellini <stefano.stabellini@amd.com>
Thu, 15 Jun 2023 23:46:03 +0000 (16:46 -0700)
commit420927c218a96c6a39cb5b1516e011506f33f68a
tree85719756448c069b7b760b1bd89f10ac275c027b
parentf17068c1c784d9732982e8977d6f18dce08f1fe1
include/hw/xen/xen_common: return error from xen_create_ioreq_server

This is done to prepare for enabling xenpv support for ARM architecture.
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.

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>
include/hw/xen/xen_native.h