On 05/07/13 19:35, Gleb Natapov wrote: > On Tue, May 07, 2013 at 06:55:23PM +0900, Jun'ichi Nomura wrote: >> Hello, >> >> With v3.9 kernel and Nehalem CPU (i.e. unrestricted_guest=N), >> a guest stuck during boot (seemingly in BIOS). >> When setting emulate_invalid_guest_state=0, it does boot. >> (With v3.8 kernel and older, the guest used to boot fine by default.) >> >> The userspace is qemu-kvm of RHEL6. >> It seems the guest boots up fine with upstream qemu 1.4.1. >> >> Is this a kernel bug? Or is the userspace just too old to run on v3.9? >> >> > It should work. What seabios version are you using? It's seabios-0.6.1.2-26.el6. (and qemu-kvm-0.12.1.2-2.355.el6) > >> # virsh start vm12; virsh console vm12 >> Domain vm12 started >> >> Connected to domain vm12 >> Escape character is ^] >> >> Google, Inc. >> Serial Graphics Adapter 07/26/11 >> SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxx) Tue Jul 26 15:05:08 UTC 2011 >> Term: >> <Ctrl-]> >> >> # virsh qemu-monitor-command vm12 --hmp info registers >> EAX=f000e850 EBX=0000ffff ECX=00000000 EDX=0000ffff >> ESI=00000104 EDI=00000060 EBP=00000000 ESP=00006eb0 >> EIP=000006ca EFL=00000046 [---Z-P-] CPL=0 II=0 A20=1 SMM=0 HLT=0 >> ES =0040 00000400 ffffffff 00809300 >> CS =c000 000c0000 ffffffff 00809b00 >> SS =0000 00000000 ffffffff 00809300 >> DS =0040 00000400 ffffffff 00809300 >> FS =0000 00000000 ffffffff 00809300 >> GS =0000 00000000 ffffffff 00809300 >> LDT=0000 00000000 0000ffff 00008200 >> TR =0000 00000000 0000ffff 00008b00 >> GDT= 000fc558 00000037 >> IDT= 00000000 000003ff >> CR0=00000010 CR2=00000000 CR3=00000000 CR4=00000000 >> DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 >> DR6=ffff0ff0 DR7=00000400 >> FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 >> FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 >> FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 >> FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 >> FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 >> XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000 >> XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000 >> XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000 >> XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000 >> >> # cat /sys/module/kvm_intel/parameters/emulate_invalid_guest_state >> Y >> # cat /sys/module/kvm_intel/parameters/unrestricted_guest >> N -- Jun'ichi Nomura, NEC Corporation -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html