memory: fix rom_device I/O mode
When adding a rom_device in I/O mode, we incorrectly masked off the low bits, resulting in a pure RAM map. Fix my masking off the high bits and IO_MEM_ROMD, yielding a pure I/O map. Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
		
							parent
							
								
									75f5941cb5
								
							
						
					
					
						commit
						b5fe14cc7e
					
				
		Loading…
	
		Reference in New Issue