aetherscale

[unmaintained] code for a cloud provider tutorial
Log | Files | Refs | README | LICENSE

commit 6daf87dcfe130320b385d017ce6b70e1989ac713
parent cea5d876331b128dd8df0c8cbec6fbbda89db366
Author: Stefan Koch <programming@stefan-koch.name>
Date:   Sat, 12 Dec 2020 18:03:37 +0100

add missing protocol when stopping VM

Diffstat:
Maetherscale/computing.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aetherscale/computing.py b/aetherscale/computing.py @@ -180,7 +180,7 @@ def stop_vm(options: Dict[str, Any]) -> Dict[str, str]: execution.stop_systemd_unit(unit_name) else: qemu_socket = qemu_socket_monitor(vm_id) - qm = qemu.QemuMonitor(qemu_socket) + qm = qemu.QemuMonitor(qemu_socket, protocol=qemu.QemuProtocol.QMP) qm.execute('system_powerdown') response = {