hw/qxl: fix condition for exiting guest_bug
Reported and suggested by Paolo Bonzini, thanks. Signed-off-by: Alon Levy <alevy@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
		
							parent
							
								
									e25a0651f4
								
							
						
					
					
						commit
						d96aafca05
					
				
							
								
								
									
										2
									
								
								hw/qxl.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								hw/qxl.c
									
									
									
									
									
								
							@ -1461,7 +1461,7 @@ static void ioport_write(void *opaque, target_phys_addr_t addr,
 | 
				
			|||||||
    qxl_async_io async = QXL_SYNC;
 | 
					    qxl_async_io async = QXL_SYNC;
 | 
				
			||||||
    uint32_t orig_io_port = io_port;
 | 
					    uint32_t orig_io_port = io_port;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (d->guest_bug && !io_port == QXL_IO_RESET) {
 | 
					    if (d->guest_bug && io_port != QXL_IO_RESET) {
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user