Hi,
The HEAD version qemu can not execute a VM with --enable-kvm -vga std or -vga vmware on kernel 2.6.29.1-46.fc11.x86_64. I found it is because of qemu call cpu_register_physical_memory with a wrong size. Below patch can fix it on my box. Please test it.
Regards,
Peng Huang
diff --git a/hw/pc.c b/hw/pc.c
index f9cfd1f..7775c7b 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -876,7 +876,7 @@ vga_bios_error:
exit(1);
}
/* Round up vga bios size to the next 2k boundary */
- vga_bios_size = (vga_bios_size + 2047) & ~2047;
+ vga_bios_size = (vga_bios_size + 4095) & ~4095;
option_rom_start = 0xc0000 + vga_bios_size;
/* setup basic memory access */