quickemu-project / quickemu

Quickly create and run optimised Windows, macOS and Linux virtual machines
MIT License
10.54k stars 460 forks source link

fix: get VM PID early so kill_vm() works reliably #1342

Closed flexiondotorg closed 3 months ago

flexiondotorg commented 3 months ago

Description

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

Checklist: