[pve-devel] [PATCH-SERIES qemu-server 0/6] VM-state property handling improvements
Fiona Ebner
f.ebner at proxmox.com
Wed Sep 17 18:30:24 CEST 2025
Fix bug #6805, fix handling nets-host-mtu in more contexts like resume
from hibernation and printing the commandline of a snapshot. Disallow
setting that property by a user via API like is done for other
VM-state properties.
Sorry, I thought I had checked for all occurences of 'runningmachine'
when introducing 'running-nets-host-mtu', but apparently I missed some
in the QemuServer module :(
Also introduce proper privilege checking for VM-state properties.
Finally, detect and cleanup such properties upon VM start.
I haven't come around to testing these for stable-bookworm yet, but
will let you know if they apply/work cleanly there too.
Fiona Ebner (6):
partially fix #6805: api: clone: properly remove all snapshot-related
info
partially fix #6805: api: modify vm config: privilege checks for
VM-state-related properties
api: create/update: disallow setting 'running-nets-host-mtu' via API
resume from suspended: properly handle 'nets-host-mtu'
vm commandline: handle 'nets-host-mtu' property in snapshot
vm start: remove left-over VM-state-related properties
src/PVE/API2/Qemu.pm | 9 +++++++--
src/PVE/QemuServer.pm | 24 ++++++++++++++++++++++--
2 files changed, 29 insertions(+), 4 deletions(-)
--
2.47.2
More information about the pve-devel
mailing list