pc: disable the BOCHS BIOS panic port
We have an OS which writes to port 0x400 when probing for special hardware. This causes an exit of the VM. With SeaBIOS this port isn't used anyway. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-By: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Bernhard Kohl <bernhard.kohl@nsn.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
		
							parent
							
								
									33bbd1de5e
								
							
						
					
					
						commit
						0550f9c1b5
					
				
							
								
								
									
										4
									
								
								hw/pc.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								hw/pc.c
									
									
									
									
									
								
							@ -430,8 +430,8 @@ static void bochs_bios_write(void *opaque, uint32_t addr, uint32_t val)
 | 
				
			|||||||
        /* Bochs BIOS messages */
 | 
					        /* Bochs BIOS messages */
 | 
				
			||||||
    case 0x400:
 | 
					    case 0x400:
 | 
				
			||||||
    case 0x401:
 | 
					    case 0x401:
 | 
				
			||||||
        fprintf(stderr, "BIOS panic at rombios.c, line %d\n", val);
 | 
					        /* used to be panic, now unused */
 | 
				
			||||||
        exit(1);
 | 
					        break;
 | 
				
			||||||
    case 0x402:
 | 
					    case 0x402:
 | 
				
			||||||
    case 0x403:
 | 
					    case 0x403:
 | 
				
			||||||
#ifdef DEBUG_BIOS
 | 
					#ifdef DEBUG_BIOS
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user