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 <GNUtoo@cyberdimension.org>
This commit is contained in:
parent
2d2dd5d426
commit
7c66aaa96f
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue