Commit Graph

6 Commits

Author SHA1 Message Date
Denis 'GNUtoo' Carikli b4faf2a967
Really fix -cpu host issue with KVM.
The commit b264ddedb1
("trisquel-automatic-netinstall-qemu: Fix -cpu host without KVM.")
only contained part of the fix.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2024-08-06 20:23:43 +02:00
Denis 'GNUtoo' Carikli b264ddedb1
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>
2024-08-06 18:35:41 +02:00
Denis 'GNUtoo' Carikli 7c66aaa96f
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>
2024-08-06 18:25:10 +02:00
Denis 'GNUtoo' Carikli b9abe6c2b3
trisquel-automatic-netinstall-qemu: Reduce storage usage.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2024-07-06 03:04:46 +02:00
Denis 'GNUtoo' Carikli 37201a9361
trisquel-automatic-netinstall-qemu: Reduce memory usage.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2024-07-05 16:27:44 +02:00
Denis 'GNUtoo' Carikli 647e421c21
Add trisquel-automatic-netinstall-qemu.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2024-07-04 01:06:49 +02:00