Go to file
Dominik Csapak 8989736707 change shutdown behaviour on suspended vm
previously, when shutting down a suspended vm,
we successfully send the shutdown command to it,
but it will not shutdown (because it is suspended)

there we will run into the timeout and either
bail out with an error, or kill the process

when we not kill the process and resume the vm,
it will instantly shutdown, because of the previous
command

this patch checks the status of the vm beforehand,
and either bails out with an error that you cannot
shutdown a suspended vm, or stops the vm with the
correct qmp command (depending of forceStop)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-12 17:18:55 +02:00
PVE change shutdown behaviour on suspended vm 2016-04-12 17:18:55 +02:00
test Rework snapshot code, has_feature 2016-03-08 11:42:37 +01:00
.gitignore add qm.bash-completion to .gitignore 2015-09-14 10:37:12 +02:00
changelog.Debian bump version to 4.0-67 2016-04-08 07:37:43 +02:00
control.in Switch from netcat-traditional to netcat6 2015-05-12 06:39:08 +02:00
copyright change license to AGPL3 2011-08-24 10:07:52 +02:00
Makefile symlink vm.conf.5 manpage to qm.conf.5 2016-04-09 10:13:46 +02:00
modules-load.conf remove unnecessary init.d, postint, postrm and qmupdate scripts 2015-02-27 16:09:41 +01:00
pcitest.pl use warnings instead of global -w flag 2013-10-01 13:14:49 +02:00
pve-bridge fix #909: pass rate to tap_plug() 2016-03-08 15:52:31 +01:00
pve-bridge-hotplug pve-bridge-hotplug code deduplication 2015-11-14 10:34:22 +01:00
pve-bridgedown add pve-bridgedown script 2014-05-08 08:37:04 +02:00
pve-q35.cfg enable q35 machine support 2014-06-18 06:03:53 +02:00
pve-usb.cfg imported from svn 'qemu-server/pve2' 2011-08-23 07:47:04 +02:00
qm convert qmrestore into a PVE::CLI class 2015-10-05 13:10:24 +02:00
qmextract qmextract: use PVE::Storage; 2016-03-30 10:38:31 +02:00
qmrestore convert qmrestore into a PVE::CLI class 2015-10-05 13:10:24 +02:00
sparsecp.c use correct format to print time_t (%zd) 2012-02-13 11:22:03 +01:00
triggers use noawait triggers for pve-api-updates 2015-06-01 12:35:16 +02:00
utils.c fix bug in vmtar 2012-10-25 10:01:24 +02:00
vmtar.c fix bug in vmtar 2012-10-25 10:01:24 +02:00