cloudstack/plugins/hypervisors/kvm
Rohit Yadav 8323a175f1 CLOUDSTACK-9860: Power off VMs when stopVM is called with forced=true
The 'force' option provided with the stopVirtualMachine API command is
often assumed to be a hard shutdown sent to the hypervisor, when in fact
it is for CloudStacks' internal use. CloudStack should be able to send
the 'hard' power-off request to the hosts.

When forced parameter on the stopVM API is true, power off (hard shutdown)
a VM. This uses initial changes from #1635 to pass the forced parameter
to hypervisor plugin via the StopCommand, and fixes force stop (poweroff)
handling for KVM, VMware and XenServer.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-05-25 17:25:22 +05:30
..
resources/META-INF/cloudstack/kvm-compute Fix the NPE tht was being caught by the executeRequest() method. - The LibvirtUtilitiesHelper should have been injected, but it did not work on the Agent side. Due to that, when sending a StartCommand we were experiencing NPE, which made impossible to get SSVM/CPVM started. - The LibvirtUtilitiesHelper class is now being instantiated withing the LibvirtComputingResource 2015-05-27 13:19:57 +02:00
src CLOUDSTACK-9860: Power off VMs when stopVM is called with forced=true 2017-05-25 17:25:22 +05:30
test Merge branch '4.8' into 4.9 2016-11-23 13:50:15 +05:30
pom.xml Updating pom.xml version numbers for release 4.9.3.0-SNAPSHOT 2017-01-06 10:40:15 +05:30