qemu-server/PVE
Wolfgang Bumiller a38204c14b fix #5528: override cgroup methods to call systemd via dbus
Systemd reapplies its known values on reload, so we cannot simply call
into PVE::CGroup. Call systemd's SetUnitProperties method via dbus
instead.

The hotplug and startup code also calculated different values, as one
operated within systemd's value framework (documented in
systemd.resource-control(5)) and one worked with cgroup values
(distinguishing between cgroup v1 and v2 manually).

This is now unified by overriding `change_cpu_quota()` and
`change_cpu_shares()` via `PVE::QemuServer::CGroup` which now takes
systemd-based values and sends those directly via dbus.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-23 08:05:53 +02:00
..
API2 fix #5574: api: fix permission check for 'spice' usb port 2024-07-22 19:37:37 +02:00
CLI cli: qm: increase timeout for monitor commands to 30 seconds 2024-06-11 13:56:44 +02:00
QemuServer fix #5528: override cgroup methods to call systemd via dbus 2024-07-23 08:05:53 +02:00
VZDump backup: prepare: remove outdated QEMU version check 2024-07-03 15:08:51 +02:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm config: define machine schema as property-string 2024-04-11 10:18:27 +02:00
QemuMigrate.pm migration: handle replication: remove outdated and inaccurate check for QEMU version 2024-07-03 15:08:47 +02:00
QemuServer.pm fix #5528: override cgroup methods to call systemd via dbus 2024-07-23 08:05:53 +02:00
QMPClient.pm QMP client: sort commands with 10 minutes timeout alphabetically 2024-03-08 14:37:29 +01:00