qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Win2k broken by kvmvapic
@ 2012-10-07 15:23 Blue Swirl
  2012-10-07 17:24 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Blue Swirl @ 2012-10-07 15:23 UTC (permalink / raw)
  To: Jan Kiszka, Avi Kivity, qemu-devel

Hi,

Win2k does not work in HEAD, it resets the machine. I bisected this to
0b57e287138728f72d88b06e69b970c5d745c44a, but that does not look so
buggy.

Digging deeper, the problem is introduced by kvmvapic:
Breakpoint 1, cpu_physical_memory_write_rom (addr=0xca300,
    buf=0x7fffec66b500 "", len=0x5) at /src/qemu/exec.c:3536
3536                invalidate_and_set_dirty(addr1, l);
(gdb) bt
#0  cpu_physical_memory_write_rom (addr=0xca300, buf=0x7fffec66b500 "",
    len=0x5) at /src/qemu/exec.c:3536
#1  0x0000000000644089 in apic_sync_vapic (s=0x1a6ba60, sync_type=0x2)
    at /src/qemu/hw/i386/../apic.c:132

It looks like vapic is enabled even with KVM disabled and this causes
chaos. With -global apic.vapic=false Win2k works.

Maybe vapic shouldn't be enabled at all if KVM is not available and
apic_common.c needs kvm_enabled() checks before using vapic?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-07 20:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-07 15:23 [Qemu-devel] Win2k broken by kvmvapic Blue Swirl
2012-10-07 17:24 ` Jan Kiszka
2012-10-07 18:40   ` Blue Swirl
2012-10-07 20:55     ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).