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.
Resolves #170
Type of change
[x] New feature (non-breaking change which adds functionality)
Checklist:
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
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 existingkillall <processname>
will be used for older versions of Quickemu.This change is being made because
--kill
is macOS compatible, whereaskillall <processname>
is only supported on Linux because QEMU on macOS can not set the process name for a VM.Type of change
Checklist: