From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: how to debug unhandled vm exit: 0x11? Date: Fri, 01 Oct 2010 16:29:25 +0200 Message-ID: <4CA5F045.4010308@redhat.com> References: <4C4DB46F.3070509@redhat.com> <1280167113.15451.15.camel@geektop> <4C4EAF44.9040002@redhat.com> <4CA2FAEC.6040800@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ewheeler , kvm@vger.kernel.org To: Neo Jia Return-path: Received: from mx1.redhat.com ([209.132.183.28]:4260 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756087Ab0JAO3c (ORCPT ); Fri, 1 Oct 2010 10:29:32 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 10/01/2010 08:16 AM, Neo Jia wrote: > On Wed, Sep 29, 2010 at 1:38 AM, Avi Kivity wrote: > > On 09/28/2010 08:40 PM, Neo Jia wrote: > >> > >> I found the instruction that caused this problem: > >> > >> emulation failed (failure) rip 71f14651 66 0f 7f 07 > >> > >> And according to Intel, this is a MOVDQA. So, do we already have this > >> instruction emulated as I am using a pretty old version of KVM > >> (release 88)? If yes, could you point me to the file I need to look at > >> for that specific patch? > >> > > > > movdqa is not emulated. > > I am going to give a try to emulate this instruction. BTW, do we have > any unit test for those emulated x86 instruction sets? Indeed we do: http://git.kernel.org/?p=virt/kvm/kvm-unit-tests.git;a=summary Check out x86/emulator.c. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.