* [pve-devel] [PATCH qemu-server] vmstate: always quiesce warnings on vm stop cleanup
@ 2025-08-05 9:57 Christoph Heiss
2025-08-05 11:02 ` [pve-devel] applied: " Hannes Duerr
2025-08-05 13:10 ` Thomas Lamprecht
0 siblings, 2 replies; 3+ messages in thread
From: Christoph Heiss @ 2025-08-05 9:57 UTC (permalink / raw)
To: pve-devel
At this point, the dbus-vmstate helper is not expected to be running
anymore.
Using $noerr here didn't really make sense - as it never should be
running anymore at this point, plus the VM should also be stopped - thus
the "happy" path here is to fail removing the dbus-vmstate helper.
It resulted in another spurious warning _after_ a migration on the
source node.
Fixes: 067a0f55 ("vmstate: improve cleaning up dbus-vmstate and avoid spurious warning")
Reported-by: Friedrich Weber <f.weber@proxmox.com>
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
---
src/PVE/QemuServer.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/PVE/QemuServer.pm b/src/PVE/QemuServer.pm
index 30ec58b1..d42e2115 100644
--- a/src/PVE/QemuServer.pm
+++ b/src/PVE/QemuServer.pm
@@ -6103,7 +6103,8 @@ sub vm_stop_cleanup {
eval {
# ensure that no dbus-vmstate helper is left running in any case
- PVE::QemuServer::DBusVMState::qemu_del_dbus_vmstate($vmid, quiet => $noerr);
+ # at this point, it should never be still running, so quiesce any warnings
+ PVE::QemuServer::DBusVMState::qemu_del_dbus_vmstate($vmid, quiet => 1);
if (!$keepActive) {
my $vollist = get_vm_volumes($conf);
--
2.50.1
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [pve-devel] applied: [PATCH qemu-server] vmstate: always quiesce warnings on vm stop cleanup
2025-08-05 9:57 [pve-devel] [PATCH qemu-server] vmstate: always quiesce warnings on vm stop cleanup Christoph Heiss
@ 2025-08-05 11:02 ` Hannes Duerr
2025-08-05 13:10 ` Thomas Lamprecht
1 sibling, 0 replies; 3+ messages in thread
From: Hannes Duerr @ 2025-08-05 11:02 UTC (permalink / raw)
To: Proxmox VE development discussion; +Cc: pve-devel
This was already applied
6df5858a (vmstate: always quiesce warnings on vm stop cleanup)
https://git.proxmox.com/?p=qemu-server.git;a=commit;h=6df5858a1cbfaa87e476d4b2c1dead8e45b5caca
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [pve-devel] applied: [PATCH qemu-server] vmstate: always quiesce warnings on vm stop cleanup
2025-08-05 9:57 [pve-devel] [PATCH qemu-server] vmstate: always quiesce warnings on vm stop cleanup Christoph Heiss
2025-08-05 11:02 ` [pve-devel] applied: " Hannes Duerr
@ 2025-08-05 13:10 ` Thomas Lamprecht
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Lamprecht @ 2025-08-05 13:10 UTC (permalink / raw)
To: pve-devel, Christoph Heiss
On Tue, 05 Aug 2025 11:57:41 +0200, Christoph Heiss wrote:
> At this point, the dbus-vmstate helper is not expected to be running
> anymore.
>
> Using $noerr here didn't really make sense - as it never should be
> running anymore at this point, plus the VM should also be stopped - thus
> the "happy" path here is to fail removing the dbus-vmstate helper.
> It resulted in another spurious warning _after_ a migration on the
> source node.
>
> [...]
Applied, thanks!
[1/1] vmstate: always quiesce warnings on vm stop cleanup
commit: 6df5858a1cbfaa87e476d4b2c1dead8e45b5caca
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-08-05 13:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-05 9:57 [pve-devel] [PATCH qemu-server] vmstate: always quiesce warnings on vm stop cleanup Christoph Heiss
2025-08-05 11:02 ` [pve-devel] applied: " Hannes Duerr
2025-08-05 13:10 ` Thomas Lamprecht
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.