Passing the --kill argument to quickemu did not kill running VMs. This patch determines if a VM is running and what its PID is early so that kill_vm() can operate correctly.
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
Checklist:
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
Description
Passing the
--kill
argument toquickemu
did not kill running VMs. This patch determines if a VM is running and what its PID is early so thatkill_vm()
can operate correctly.Type of change
Checklist: