From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: unhandled vm exit and machine locks up Date: Thu, 12 Jun 2008 16:43:29 +0300 Message-ID: <48512801.8030005@qumranet.com> References: <20080611111859.GA2637@deprecation.cyrius.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Martin Michlmayr Return-path: Received: from il.qumranet.com ([212.179.150.194]:52201 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761376AbYFLNph (ORCPT ); Thu, 12 Jun 2008 09:45:37 -0400 In-Reply-To: <20080611111859.GA2637@deprecation.cyrius.com> Sender: kvm-owner@vger.kernel.org List-ID: Martin Michlmayr wrote: > I was reading email in my kvm instance when suddenly it was terminated > and my whole laptop locked-up hard. I saw "unhandled vm exit: > 0x80000021 vcpu_id0" and a bunch of register info that can be found at > http://www.cyrius.com/tmp/kvm.jpg > > Does this give any information why kvm was terminated and my whole > machine locked-up? > > I'm running 2.6.25 on x86_64 with kvm-intel and kvm version 60. The > CPU is Intel(R) Core(TM)2 Duo CPU U7600 @ 1.20GHz. The kvm instance > is a 32 bit x86 installation. Both running Debian. > > It looks like host state leaked into the guest state. The register state is consistent with a 64-bit guest, while you're running a 32-bit guest. The guest EFER is still consistent with a 32-bit guest, which is why you got the abort. Presumably some guest state also leaked into the host, which is why the host locked up. Can you post your .config? were you running more than one guest on the machine? were you running a debugger concurrently? anything else out of the ordinary? do you recall the exact phase of the moon? -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.