mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
Allow to stop a VMware VM from GNS3 even if halted within the VM. Fixes #1118.
This commit is contained in:
parent
06da40cdcd
commit
7cdf23f497
@ -488,6 +488,7 @@ class VMwareVM(BaseVM):
|
||||
yield from self._ubridge_hypervisor.stop()
|
||||
|
||||
try:
|
||||
if (yield from self.is_running()):
|
||||
if self.acpi_shutdown:
|
||||
# use ACPI to shutdown the VM
|
||||
yield from self._control_vm("stop", "soft")
|
||||
|
Loading…
Reference in New Issue
Block a user