On 27/01/2023 4:17 pm, Juergen Gross wrote:
> When loading a Xenstore stubdom the loader doesn't know whether the
> lo be loaded kernel is a PVH or a PV one. So it tries to load it as
> a PVH one first, and if this fails it is loading it as a PV kernel.
>
> This results in errors being logged in case the stubdom is a PV kernel.
>
> Suppress those errors by setting the minimum logging level to
> "critical" while trying to load the kernel as PVH.
>
> In case PVH mode and PV mode loading fails, retry PVH mode loading
> without changing the log level in order to get the error messages
> logged.
>
> Fixes: f89955449c5a ("tools/init-xenstore-domain: support xenstore pvh
> stubdom")
> Signed-off-by: Juergen Gross <[email protected]>
Acked-by: Andrew Cooper <[email protected]>
although lets wait for OSStest to unblock before putting this in.
~Andrew