vm: Pass '-serial stdio' in the run-vm.sh.
* gnu/system/vm.scm (system-qemu-image/shared-store-script): Add '-serial stdio'.
This commit is contained in:
		
							parent
							
								
									838d9a9ddb
								
							
						
					
					
						commit
						5a84a6c314
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -365,6 +365,7 @@ exec " #$qemu "/bin/qemu-system-x86_64 -enable-kvm -no-reboot -net nic,model=vir
 | 
				
			||||||
  -initrd " #$os-drv "/initrd \
 | 
					  -initrd " #$os-drv "/initrd \
 | 
				
			||||||
-append \"" #$(if graphic? "" "console=ttyS0 ")
 | 
					-append \"" #$(if graphic? "" "console=ttyS0 ")
 | 
				
			||||||
  "--load=" #$os-drv "/boot --root=/dev/vda1\" \
 | 
					  "--load=" #$os-drv "/boot --root=/dev/vda1\" \
 | 
				
			||||||
 | 
					  -serial stdio \
 | 
				
			||||||
  -drive file=" #$image
 | 
					  -drive file=" #$image
 | 
				
			||||||
  ",if=virtio,cache=writeback,werror=report,readonly\n")
 | 
					  ",if=virtio,cache=writeback,werror=report,readonly\n")
 | 
				
			||||||
             port)
 | 
					             port)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue