From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: KVM entry failed, hardware error Date: Thu, 07 Jun 2012 10:12:25 +0300 Message-ID: <4FD05459.7020702@redhat.com> References: <4FCB55FE.2010808@gmx.de> <4FCB59A2.4020008@redhat.com> <4FCB6045.1050002@gmx.de> <4FCF7CE6.3050901@redhat.com> <4FCF9C78.3090406@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Johannes Bauer Return-path: Received: from mx1.redhat.com ([209.132.183.28]:63807 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752685Ab2FGHMc (ORCPT ); Thu, 7 Jun 2012 03:12:32 -0400 In-Reply-To: <4FCF9C78.3090406@gmx.de> Sender: kvm-owner@vger.kernel.org List-ID: On 06/06/2012 09:07 PM, Johannes Bauer wrote: > On 06.06.2012 17:53, Avi Kivity wrote: > >>>> # rmmod kvm_intel >>>> # modprobe kvm_intel emulate_invalid_guest_state=1 >>>> >>>> Warning: experimental code. >>> >>> Tried it out -- I don't get the error anymore, but qemu just hangs on >>> boot with 100% CPU. :-( >> >> Please retry with >> >> git://git.kernel.org/pub/scm/virt/kvm/kvm.git big-real-mode > > Same thing: > > $ uname -a > Linux joequad 3.5.0-rc1-46053-gf2ebd42 #1 SMP PREEMPT Wed Jun 6 19:49:21 > CEST 2012 x86_64 Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz > GenuineIntel GNU/Linux > > $ cat /proc/cmdline > BOOT_IMAGE=/boot/vmlinuz-3.5.0-rc1-46053-gf2ebd42 root=/dev/sda1 ro > kvm-intel.emulate_invalid_guest_state=1 > > QEmu hangs with 100% CPU. Is there anything I can try to be able to tell > you *where* it hangs? > add -monitor stdio to the command line and then: (qemu) info registers (qemu) x/20i 0xcsbase + $eip (for csbase substitute the second value for CS in 'info registers') Run info registers a few times and note whether eip changes or not. -- error compiling committee.c: too many arguments to function