[pve-devel] qemu-ga

Dietmar Maurer dietmar at proxmox.com
Mon Jul 18 06:15:13 CEST 2016


> If qemu agent is enable on the VM and detected a running qemu agent in
> the VM do you use qemu agent poweroff when shutdown is activated in
> pve-manager?

yes

		if (defined($conf) && $conf->{agent}) {
		    vm_qmp_command($vmid, { execute => "guest-shutdown" }, $nocheck);
		} else {
		    vm_qmp_command($vmid, { execute => "system_powerdown" }, $nocheck);
		}



More information about the pve-devel mailing list