clan-core/pkgs/clan-cli/qemu
DavHau 02dd132e08
All checks were successful
checks-impure / test (pull_request) Successful in 1m43s
checks / test (pull_request) Successful in 2m44s
vms: init graceful shutdown for GUI
- add python modules for qemu protocols: QMP (hardware interactions) and QGA (guest service interaction)
- refactor state directory: remove name from path (already contains url)
- add impure vm test for basic qmp interaction
- simplify existing vm persistance test (factor out shared code)
- integrate graceful shutdown into GUI

the GUI integration still needs to be improved later:
- add fallback in case system doesn't react to powerdown button
- shutdown GUI switch fails if VM hasn't been started yet, and then remains in a wrong position
2024-02-09 19:55:18 +07:00
..
__init__.py vms: init graceful shutdown for GUI 2024-02-09 19:55:18 +07:00
qga.py vms: init graceful shutdown for GUI 2024-02-09 19:55:18 +07:00
qmp.py vms: init graceful shutdown for GUI 2024-02-09 19:55:18 +07:00