quickemu-project / quickgui

An elegant virtual machine manager for the desktop
MIT License
950 stars 75 forks source link

feat: kill VMs using quickemu --kill when running quickemu >= 4.9.6 #174

Closed flexiondotorg closed 2 months ago

flexiondotorg commented 2 months ago

Description

This patch checks the available Quickemu version. If >= 4.9.6 is available, Quickgui will use the new Quickemu --kill option to terminate VMs. The existing killall <processname> will be used for older versions of Quickemu.

This change is being made because --kill is macOS compatible, whereas killall <processname> is only supported on Linux because QEMU on macOS can not set the process name for a VM.

Type of change

Checklist: