mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-09-23 00:00:50 +02:00
use long hv-* attributes for qemu 6.0.0
This commit is contained in:
parent
c3d21b9029
commit
23982c3f9d
6
quickemu
6
quickemu
|
@ -568,7 +568,11 @@ function vm_boot() {
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
windows)
|
windows)
|
||||||
CPU="-cpu host,kvm=on,+hypervisor,+invtsc,l3-cache=on,migratable=no,hv_passthrough"
|
if [ "${QEMU_VER_SHORT}" -gt 60 ]; then
|
||||||
|
CPU="-cpu host,kvm=on,+hypervisor,+invtsc,l3-cache=on,migratable=no,hv_passthrough"
|
||||||
|
else
|
||||||
|
CPU="-cpu host,kvm=on,+hypervisor,+invtsc,l3-cache=on,migratable=no,hv_frequencies,kvm_pv_unhalt,hv_reenlightenment,hv_relaxed,hv_spinlocks=8191,hv_stimer,hv_synic,hv_time,hv_vapic,hv_vendor_id=1234567890ab,hv_vpindex"
|
||||||
|
fi
|
||||||
if [ "${HOST_CPU_VENDOR}" == "AuthenticAMD" ]; then
|
if [ "${HOST_CPU_VENDOR}" == "AuthenticAMD" ]; then
|
||||||
CPU="${CPU},topoext"
|
CPU="${CPU},topoext"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user