]> git.ipfire.org Git - thirdparty/systemd.git/commit
vmspawn-varlink: drop AcquireQMP stub and QemuMachineInstance interface 41763/head
authorChristian Brauner <brauner@kernel.org>
Thu, 23 Apr 2026 08:22:17 +0000 (10:22 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 24 Apr 2026 12:39:25 +0000 (14:39 +0200)
commit67cd0977cd96595432fe1b9848bfed4864b2f443
tree6b6bc0a44a71b90e842066bac89b0bde45ed44b2
parent93c04d4aba520afb4bf57e27fb0faac8268ed685
vmspawn-varlink: drop AcquireQMP stub and QemuMachineInstance interface

The AcquireQMP() method was a placeholder that always returned
EOPNOTSUPP, reserving room for a future id-rewriting QMP multiplex
proxy. The broader direction is for systemd-vmspawn to remain the single
source of truth for VM control rather than exposing raw QMP to clients.

Since AcquireQMP was the only method on io.systemd.QemuMachineInstance
(and AlreadyAcquired was its only error), remove the whole interface
along with the stub, and update the controlAddress field comment in
io.systemd.Machine to stop referencing it.

Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
src/shared/meson.build
src/shared/varlink-io.systemd.Machine.c
src/shared/varlink-io.systemd.QemuMachineInstance.c [deleted file]
src/shared/varlink-io.systemd.QemuMachineInstance.h [deleted file]
src/vmspawn/vmspawn-varlink.c