mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
hw/xen: Downgrade a xen_bus_realize() non-error to warning
xen_bus_realize() reports a failure to set up a watch as error, but it doesn't treat it as one: it simply continues. Report a warning instead. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20250314143500.2449658-3-armbru@redhat.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
parent
de7b18083b
commit
6121c55db9
1 changed files with 3 additions and 4 deletions
|
@ -353,8 +353,7 @@ static void xen_bus_realize(BusState *bus, Error **errp)
|
||||||
xs_node_watch(xenbus->xsh, node, key, xen_bus_backend_changed,
|
xs_node_watch(xenbus->xsh, node, key, xen_bus_backend_changed,
|
||||||
xenbus, &local_err);
|
xenbus, &local_err);
|
||||||
if (local_err) {
|
if (local_err) {
|
||||||
/* This need not be treated as a hard error so don't propagate */
|
warn_reportf_err(local_err,
|
||||||
error_reportf_err(local_err,
|
|
||||||
"failed to set up '%s' enumeration watch: ",
|
"failed to set up '%s' enumeration watch: ",
|
||||||
type[i]);
|
type[i]);
|
||||||
local_err = NULL;
|
local_err = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue