all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH qemu-server 1/2] test: mock query-version qmp command
@ 2026-06-24  8:40 Maximiliano Sandoval
  2026-06-24  8:40 ` [PATCH qemu-server 2/2] vm start: log qemu version when starting a VM Maximiliano Sandoval
  0 siblings, 1 reply; 3+ messages in thread
From: Maximiliano Sandoval @ 2026-06-24  8:40 UTC (permalink / raw)
  To: pve-devel

In the next commit we add a call to query-version to log the package
version when starting a VM.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
 src/test/MigrationTest/QmMock.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/test/MigrationTest/QmMock.pm b/src/test/MigrationTest/QmMock.pm
index 311dbb39..fa5c9989 100644
--- a/src/test/MigrationTest/QmMock.pm
+++ b/src/test/MigrationTest/QmMock.pm
@@ -54,6 +54,8 @@ my sub mocked_mon_cmd {
         return [];
     } elsif ($command eq 'qom-set') {
         return;
+    } elsif ($command eq 'query-version') {
+        return;
     }
     die "mon_cmd (mocked) - implement me: $command";
 }
-- 
2.47.3





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-24  8:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-24  8:40 [PATCH qemu-server 1/2] test: mock query-version qmp command Maximiliano Sandoval
2026-06-24  8:40 ` [PATCH qemu-server 2/2] vm start: log qemu version when starting a VM Maximiliano Sandoval
2026-06-24  8:44   ` Maximiliano Sandoval

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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal