aboutsummaryrefslogtreecommitdiff
path: root/hw/xen
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2025-03-14 15:35:00 +0100
committerMarkus Armbruster <armbru@redhat.com>2025-03-19 09:36:29 +0100
commit6121c55db9c972950b28eb9ac84858271579f25c (patch)
tree32e60e5d91f106447bd6862d0e501e906a9c6a62 /hw/xen
parentde7b18083bfed4e1a01bb40b4ad050c47d2011fa (diff)
downloadqemu-6121c55db9c972950b28eb9ac84858271579f25c.zip
qemu-6121c55db9c972950b28eb9ac84858271579f25c.tar.gz
qemu-6121c55db9c972950b28eb9ac84858271579f25c.tar.bz2
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>
Diffstat (limited to 'hw/xen')
-rw-r--r--hw/xen/xen-bus.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/hw/xen/xen-bus.c b/hw/xen/xen-bus.c
index 2aacc14..f808a01 100644
--- a/hw/xen/xen-bus.c
+++ b/hw/xen/xen-bus.c
@@ -353,10 +353,9 @@ static void xen_bus_realize(BusState *bus, Error **errp)
xs_node_watch(xenbus->xsh, node, key, xen_bus_backend_changed,
xenbus, &local_err);
if (local_err) {
- /* This need not be treated as a hard error so don't propagate */
- error_reportf_err(local_err,
- "failed to set up '%s' enumeration watch: ",
- type[i]);
+ warn_reportf_err(local_err,
+ "failed to set up '%s' enumeration watch: ",
+ type[i]);
local_err = NULL;
}