Fixed QEMU command line avoids raw image warning.
This commit is contained in:
		
							parent
							
								
									0f3d9d9d68
								
							
						
					
					
						commit
						5faed8ba64
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -210,7 +210,7 @@ QEMUGDB = $(shell if $(QEMU) -help | grep -q '^-gdb'; \ | ||||||
| ifndef CPUS | ifndef CPUS | ||||||
| CPUS := 2 | CPUS := 2 | ||||||
| endif | endif | ||||||
| QEMUOPTS = -hdb fs.img xv6.img -smp $(CPUS) -m 512 $(QEMUEXTRA) | QEMUOPTS = -drive file=fs.img,index=1,media=disk,format=raw -drive file=xv6.img,index=0,media=disk,format=raw -smp $(CPUS) -m 512 $(QEMUEXTRA) | ||||||
| 
 | 
 | ||||||
| qemu: fs.img xv6.img | qemu: fs.img xv6.img | ||||||
| 	$(QEMU) -serial mon:stdio $(QEMUOPTS) | 	$(QEMU) -serial mon:stdio $(QEMUOPTS) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Peter H. Froehlich
						Peter H. Froehlich