build(quickemu): require QEMU 6.1.0 minimum
- Raise global minimum QEMU version from 6.0.0 to 6.1.0. - The option -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off used for macOS guests is only available in QEMU 6.1.0 and later; prefer raising the global requirement rather than adding per-flag conditionals. - Update version check and error message in quickemu. BREAKING CHANGE: Require QEMU 6.1.0; older QEMU will fail the version check.
This commit is contained in:
parent
2384b0d263
commit
64eedfe7c5
4
quickemu
4
quickemu
|
|
@ -2551,8 +2551,8 @@ QEMU_VER_LONG=$(${QEMU_IMG} --version | head -n 1 | awk '{print $3}')
|
|||
QEMU_VER_SHORT="${QEMU_VER_LONG%.*}"
|
||||
QEMU_VER_SHORT="${QEMU_VER_SHORT/./}"
|
||||
|
||||
if [ "${QEMU_VER_SHORT}" -lt 60 ]; then
|
||||
echo "ERROR! QEMU 6.0.0 or newer is required, detected ${QEMU_VER_LONG}."
|
||||
if [ "${QEMU_VER_SHORT}" -lt 61 ]; then
|
||||
echo "ERROR! QEMU 6.1.0 or newer is required, detected ${QEMU_VER_LONG}."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue