[pve-devel] qemu : systemd cgroup scope already exist bug
Alexandre DERUMIER
aderumier at odiso.com
Thu Apr 21 07:51:40 CEST 2016
>>But we normally do not want to stop a running VM...
then, also use check_running to see if pid file exist
if !PVE::QemuServer::check_running($vmid) && -f /sys/fs/cgroup/systemd/qemu.slice/$vmid.scope
exec (systemctl stop vmid.scope)
----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Jeudi 21 Avril 2016 06:17:20
Objet: Re: [pve-devel] qemu : systemd cgroup scope already exist bug
> we can test if scope still exist here:
>
> /sys/fs/cgroup/systemd/qemu.slice/vmid.scope
>
>
> if exist, systemctl stop vmid.scope , before doing the system-run
But we normally do not want to stop a running VM...
More information about the pve-devel
mailing list