0
0

control-vm.sh: Bump the qemu version to >= 9.0

QEMU 6 (and older) probably still work, but I won’t test them.
This commit is contained in:
Nils Freydank 2024-05-05 18:28:44 +02:00
parent b4f5beaa69
commit bd39de6f2e
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112

View File

@ -2,7 +2,7 @@
# SPDX-License-Identifier: MIT
# Virtual machine control script for QEMU/KVM VMs.
# Tested on Gentoo (~amd64/hardened) with qemu-6.0.
# Tested on Gentoo (~amd64/hardened) with qemu-9.0
#
# You can find the newest version probably on public git repo:
# https://git.holgersson.xyz/nfr/control-vm
@ -75,7 +75,7 @@ CPU_CORES="${CPU_CORES:-1}"
EFI="${EFI:-True}"
GUEST_NAME="${1}"
LIVE_ONLY="${LIVE_ONLY:-}"
MACHINE="${MACHINE:-pc-q35-6.0}"
MACHINE="${MACHINE:-pc-q35-9.0}"
MEMORY="${MEMORY:-16384}"
NET="${NET:-}"
NETDEV_NAME="vmnic-${GUEST_NAME}"