qemu-server/PVE
Thomas Lamprecht 3d79cf5536 vm start: always reset any failed-state of the VM systemd scope
The scope can get into failed state for some issues like OOM kills of
the whole scope, in that case a user cannot re-start the VM until
they manually reset it.

Do this for now inline to avoid a pve-common bump as done in [0]
(location was suggested by me thinking we could maybe do it over
dbus, but as we have a stop command here already it probably doesn't
matters)

[0]: https://lists.proxmox.com/pipermail/pve-devel/2023-June/057770.html

Originally-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-21 09:14:47 +02:00
..
API2 restore: extend permissions checks 2023-06-20 19:42:48 +02:00
CLI qm: remote migration: improve error when storage cannot be found 2023-06-09 09:49:40 +02:00
QemuServer cpuconfig: add missing qemu 8.0 cpu models 2023-06-19 17:02:00 +02:00
VZDump backup: prepare: improve error messages 2023-03-27 11:38:43 +02:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm config: implement method to calculate derived properties from a config 2023-06-08 17:47:53 +02:00
QemuMigrate.pm migration: check for mapped resources 2023-06-19 07:21:49 +02:00
QemuServer.pm vm start: always reset any failed-state of the VM systemd scope 2023-06-21 09:14:47 +02:00
QMPClient.pm remove left-over mentions of to-be-dropped, outdated QMP commands 2023-06-07 19:36:45 +02:00