NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-xen/60473 (PVHVM domU with powerd panics with xl suspend)
Synopsis: PVHVM domU with powerd panics with xl suspend
State-Changed-From-To: open->feedback
State-Changed-By: riastradh%NetBSD.org@localhost
State-Changed-When: Fri, 20 Nov 2026 16:36:17 +0000
State-Changed-Why:
Can you please try again with the following patch in the guest kernel?
# HG changeset patch
# User Taylor R Campbell <riastradh%NetBSD.org@localhost>
# Date 1795191178 0
# Fri Nov 20 16:12:58 2026 +0000
# Branch trunk
# Node ID 30ce040155237e4beed41a0a05deadc99101bf9a
# Parent d551824fcf5c2bd38ba70f6f7033ec7dd634c940
# EXP-Topic riastradh-pr60986-fssbadbstore
WIP: xencons(4): Don't suspend/resume if not in use.
PR port-xen/60473: PVHVM domU with powerd panics with xl suspend
diff -r d551824fcf5c -r 30ce04015523 sys/arch/xen/xen/xencons.c
--- a/sys/arch/xen/xen/xencons.c Fri Nov 20 13:27:29 2026 +0000
+++ b/sys/arch/xen/xen/xencons.c Fri Nov 20 16:12:58 2026 +0000
@@ -200,11 +200,12 @@ xencons_attach(device_t parent, device_t
xencons_console_device = sc;
xencons_resume(self, PMF_Q_NONE);
+ pmf_device_register(self, xencons_suspend, xencons_resume);
+ } else {
+ pmf_device_register(self, NULL, NULL);
}
- sc->polling = 0;
- if (!pmf_device_register(self, xencons_suspend, xencons_resume))
- aprint_error_dev(self, "couldn't establish power handler\n");
+ sc->polling = 0;
}
static bool
Home |
Main Index |
Thread Index |
Old Index