mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Refactor topoext
This commit is contained in:
		
							parent
							
								
									bdc0a5b13a
								
							
						
					
					
						commit
						a6847d41aa
					
				
					 1 changed files with 8 additions and 13 deletions
				
			
		
							
								
								
									
										21
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										21
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -290,12 +290,10 @@ function vm_boot() { | ||||||
|   # Make any OS specific adjustments |   # Make any OS specific adjustments | ||||||
|   case ${guest_os} in |   case ${guest_os} in | ||||||
|     linux) |     linux) | ||||||
|       case ${HOST_CPU_VENDOR} in |       CPU="-cpu host,kvm=on" | ||||||
|         AuthenticIntel) |       if [ "${HOST_CPU_VENDOR}" == "AuthenticAMD" ]; then | ||||||
|           CPU="-cpu host,kvm=on";; |         CPU="${CPU},topoext" | ||||||
|         AuthenticAMD|*) |       fi | ||||||
|           CPU="-cpu host,kvm=on,topoext";; |  | ||||||
|       esac |  | ||||||
|       disk_size="16G" |       disk_size="16G" | ||||||
|       ;; |       ;; | ||||||
|     macos) |     macos) | ||||||
|  | @ -349,13 +347,10 @@ function vm_boot() { | ||||||
|       disk_size="64G" |       disk_size="64G" | ||||||
|       ;; |       ;; | ||||||
|     windows) |     windows) | ||||||
|       case ${HOST_CPU_VENDOR} in |       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" | ||||||
|         AuthenticIntel) |       if [ "${HOST_CPU_VENDOR}" == "AuthenticAMD" ]; then | ||||||
|           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";; |         CPU="${CPU},topoext" | ||||||
|         AuthenticAMD|*) |       fi | ||||||
|           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,topoext";; |  | ||||||
|       esac |  | ||||||
| 
 |  | ||||||
|       GUEST_TWEAKS="-no-hpet -global kvm-pit.lost_tick_policy=discard" |       GUEST_TWEAKS="-no-hpet -global kvm-pit.lost_tick_policy=discard" | ||||||
|       disk_size="64G" |       disk_size="64G" | ||||||
|       ;; |       ;; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue