Commit Graph

3 Commits

Author SHA1 Message Date
Jörg Thalheim
83cbc18f66 treefmt 2024-03-07 14:13:11 +01:00
DavHau
901e5ca0aa fix formatting 2024-02-26 16:19:30 +07:00
DavHau
a438a27c69 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