summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlauber Costa <glommer@redhat.com>2009-04-23 15:20:55 -0400
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-01 10:12:27 -0500
commit544995e22e1c78f7190cf984d21292e8df0bce55 (patch)
tree12406fe17fac47fe424ec73d66d1386f6e9a7032
parent57ba0792ca430557ec89aa3daeceb42034161706 (diff)
downloadqemu-544995e22e1c78f7190cf984d21292e8df0bce55.tar.gz
suport device driver initialization model
According to PnP specification, Appendix B, Option ROMs that support DDIM (device driver initialization model) should have their memory space writeable. KVM deviates from us here, by removing the IO_MEM_ROM flag, to allow for PCI option ROMs (they require DDIM). However, there's absolutely no reason we can't do the same. Signed-off-by: Glauber Costa <glommer@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--hw/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 3849390702..6e3d03f6c8 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -899,7 +899,7 @@ vga_bios_error:
load_linux(phys_ram_base + option_rom_offset,
kernel_filename, initrd_filename, kernel_cmdline);
cpu_register_physical_memory(0xd0000, TARGET_PAGE_SIZE,
- option_rom_offset | IO_MEM_ROM);
+ option_rom_offset);
offset = TARGET_PAGE_SIZE;
}