On 05/07/2012 04:51 PM, Michael Tokarev wrote: > So, refreshing it all again with more correct information. > > First, it appears that only 32bit version of qemu userspace is > affected, and only when using 32bit version of guest. So far, > either 64bit qemu userpace or 64bit windows7 guest is enough > for the issue to not show up. Second, both win7 and winXP > (32bit) are affected. Third, current qemu-kvm/master appears > to be unaffected too. > > The problem is that on first and all subsequent guest REBOOT > (not first boot but really REBOOT) -- after the guest rebuilt > its HAL I guess, due to some changes in "hardware" it noticed, -- > the guest BSODs during boot with this code: > >
Something that is different in a reboot, is that patching the ROM is skipped. Please try removing the following lines from hw/kvmvapic.c's update_rom_mapping(): /* fixup addresses in ROM if needed */ if (rom_state_vaddr == le32_to_cpu(s->rom_state.vaddr)) { return 0; } -- error compiling committee.c: too many arguments to function