From 7c66aaa96f50c5f1c1c2277c8496c736fe229c39 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Tue, 6 Aug 2024 18:24:34 +0200 Subject: [PATCH] trisquel-automatic-netinstall-qemu: use -cpu host. This should improve the performances a bit as this mostly pass through the host CPU, and so the VM can benefit from some of the more advanced CPU features. Depending on the CPU and host configuration, it can also enable other features as well like nested KVM. Signed-off-by: Denis 'GNUtoo' Carikli --- trisquel-automatic-netinstall-qemu/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/trisquel-automatic-netinstall-qemu/Makefile.am b/trisquel-automatic-netinstall-qemu/Makefile.am index fe4abee..e69e67e 100644 --- a/trisquel-automatic-netinstall-qemu/Makefile.am +++ b/trisquel-automatic-netinstall-qemu/Makefile.am @@ -71,6 +71,7 @@ rootfs.img: preseed.img rootfs.img.tmp grub.iso qemu-system-x86_64 \ -M q35 \ -m 790M \ + -cpu host \ -nographic \ -drive file=grub.iso,index=2,media=cdrom,if=ide \ -drive file=rootfs.img.tmp,index=1,media=disk,if=virtio \