From: Gleb Natapov <gleb@redhat.com>
To: "Jun'ichi Nomura" <j-nomura@ce.jp.nec.com>
Cc: kvm@vger.kernel.org
Subject: Re: regression in v3.9? a guest stuck in BIOS if emulate_invalid_guest_state=Y
Date: Tue, 7 May 2013 13:35:20 +0300 [thread overview]
Message-ID: <20130507103520.GL12349@redhat.com> (raw)
In-Reply-To: <5188CF8B.8040809@ce.jp.nec.com>
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?
> # 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@hs20-bc2-3.build.redhat.com) 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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Gleb.
next prev parent reply other threads:[~2013-05-07 10:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-07 9:55 regression in v3.9? a guest stuck in BIOS if emulate_invalid_guest_state=Y Jun'ichi Nomura
2013-05-07 10:35 ` Gleb Natapov [this message]
2013-05-07 11:05 ` Jun'ichi Nomura
2013-05-07 12:06 ` Gleb Natapov
2013-05-07 14:46 ` Paolo Bonzini
2013-05-07 15:04 ` Gleb Natapov
2013-05-07 16:11 ` Paolo Bonzini
2013-05-08 3:22 ` Jun'ichi Nomura
2013-05-08 7:34 ` Jun'ichi Nomura
2013-05-08 8:29 ` Paolo Bonzini
2013-05-10 2:51 ` Jun'ichi Nomura
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130507103520.GL12349@redhat.com \
--to=gleb@redhat.com \
--cc=j-nomura@ce.jp.nec.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox