|
|
@ -568,7 +568,11 @@ function vm_boot() { |
|
|
|
fi |
|
|
|
fi |
|
|
|
;; |
|
|
|
;; |
|
|
|
windows) |
|
|
|
windows) |
|
|
|
|
|
|
|
if [ "${QEMU_VER_SHORT}" -gt 60 ]; then |
|
|
|
CPU="-cpu host,kvm=on,+hypervisor,+invtsc,l3-cache=on,migratable=no,hv_passthrough" |
|
|
|
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 |
|
|
|