mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Reorder boot string to logically group components
This commit is contained in:
		
							parent
							
								
									3881e25b49
								
							
						
					
					
						commit
						d8490b3120
					
				
					 1 changed files with 11 additions and 17 deletions
				
			
		
							
								
								
									
										28
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										28
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -270,29 +270,23 @@ function vm_boot() { | ||||||
|   fi |   fi | ||||||
| 
 | 
 | ||||||
|   # Boot the iso image |   # Boot the iso image | ||||||
|   ${QEMU} -name ${VMNAME},process=${VMNAME} \ |   ${QEMU} \ | ||||||
|     ${BIOS} ${GUEST_TWEAKS} \ |     -name ${VMNAME},process=${VMNAME} \ | ||||||
|  |     -enable-kvm -machine q35 ${BIOS} ${GUEST_TWEAKS} \ | ||||||
|  |     ${CPU} -smp ${CORES_VM} \ | ||||||
|  |     -m ${RAM_VM} -device virtio-balloon \ | ||||||
|     -drive if=none,id=drive0,cache=directsync,aio=native,format=qcow2,file=${disk_img} \ |     -drive if=none,id=drive0,cache=directsync,aio=native,format=qcow2,file=${disk_img} \ | ||||||
|     -device virtio-blk-pci,drive=drive0,scsi=off \ |     -device virtio-blk-pci,drive=drive0,scsi=off ${STATUS_QUO} \ | ||||||
|     ${ISO_BOOT} ${ISO_DRIVER} \ |     ${ISO_BOOT} ${ISO_DRIVER} \ | ||||||
|     -enable-kvm \ |     ${VIDEO} -display ${OUTPUT},gl=${GL}${OUTPUT_EXTRA} \ | ||||||
|     -machine q35 \ |     -device qemu-xhci,id=xhci,p2=8,p3=8 -device usb-kbd -device usb-tablet \ | ||||||
|     ${CPU} \ |     -device virtio-net,netdev=nic -netdev ${NET},id=nic \ | ||||||
|     -smp ${CORES_VM} \ |  | ||||||
|     -m ${RAM_VM} \ |  | ||||||
|     -device virtio-balloon \ |  | ||||||
|     -netdev ${NET},id=nic \ |  | ||||||
|     -device virtio-net,netdev=nic \ |  | ||||||
|     -rtc base=localtime,clock=host \ |  | ||||||
|     -serial mon:stdio \ |  | ||||||
|     -audiodev pa,id=pa,server=unix:${XDG_RUNTIME_DIR}/pulse/native,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME} \ |     -audiodev pa,id=pa,server=unix:${XDG_RUNTIME_DIR}/pulse/native,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME} \ | ||||||
|     -device intel-hda -device hda-duplex,audiodev=pa,mixer=off \ |     -device intel-hda -device hda-duplex,audiodev=pa,mixer=off \ | ||||||
|     -device qemu-xhci,id=xhci,p2=8,p3=8 -device usb-kbd -device usb-tablet \ |     -rtc base=localtime,clock=host \ | ||||||
|     -object rng-random,id=rng0,filename=/dev/urandom \ |     -object rng-random,id=rng0,filename=/dev/urandom \ | ||||||
|     -device virtio-rng-pci,rng=rng0 \ |     -device virtio-rng-pci,rng=rng0 \ | ||||||
|     ${VIDEO_DEV} \ |     -serial mon:stdio \ | ||||||
|     -display ${OUTPUT},gl=${GL} \ |  | ||||||
|     ${STATUS_QUO} \ |  | ||||||
|     "$@" |     "$@" | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue