trisquel-automatic-netinstall-qemu: Fix -cpu host without KVM.

Without that fix, when KVM is disabled, we have the following:
    qemu-system-x86_64: CPU model 'host' requires KVM or HVF
and since HVF is only available on MacOS[1], and that MacOS is nonfree
we won't be using it when KVM isn't available.

[1]https://www.qemu.org/docs/master/system/introduction.html

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2024-08-06 18:24:34 +02:00
parent 7c66aaa96f
commit b264ddedb1
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ dist_pkgdata_DATA = rootfs.img
EXTRA_QEMU_ARGS = EXTRA_QEMU_ARGS =
if WANT_KVM if WANT_KVM
EXTRA_QEMU_ARGS += -enable-kvm EXTRA_QEMU_ARGS += -enable-kvm -cpu host
endif # WANT_KVM endif # WANT_KVM
gnupg/pubring.kbx: ${srcdir}/D24DDAC9226D5BA5E9F3BED3F5DAAAF74AD4C938.asc gnupg/pubring.kbx: ${srcdir}/D24DDAC9226D5BA5E9F3BED3F5DAAAF74AD4C938.asc