mirror of
				https://github.com/vdsm/virtual-dsm.git
				synced 2025-11-04 17:04:52 +08:00 
			
		
		
		
	KVM
This commit is contained in:
		
							parent
							
								
									e753be9133
								
							
						
					
					
						commit
						e1f056e141
					
				@ -50,10 +50,9 @@ if [ -e /dev/kvm ] && sh -c 'echo -n > /dev/kvm' &> /dev/null; then
 | 
				
			|||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -z "${KVM_OPTS}" ]; then
 | 
					if [ -z "${KVM_OPTS}" ]; then
 | 
				
			||||||
  KVM_OPTS="-machine usb=off"
 | 
					  KVM_OPTS="-machine type=q35,usb=off"
 | 
				
			||||||
  if [ "$DEBUG" != "Y" ]; then
 | 
					  echo "Error: KVM acceleration is disabled.."
 | 
				
			||||||
    echo "Error: KVM acceleration is disabled.." && exit 88
 | 
					  [ "$DEBUG" != "Y" ] && exit 88
 | 
				
			||||||
  fi
 | 
					 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RAM_OPTS=$(echo "-m ${RAM_SIZE}" | sed 's/MB/M/g;s/GB/G/g;s/TB/T/g')
 | 
					RAM_OPTS=$(echo "-m ${RAM_SIZE}" | sed 's/MB/M/g;s/GB/G/g;s/TB/T/g')
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user