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:
Martin Wimpress 2026-01-25 12:40:26 +00:00 committed by Martin Wimpress
parent 2384b0d263
commit 64eedfe7c5
1 changed files with 2 additions and 2 deletions

View File

@ -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