Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755663Ab3DRMzi (ORCPT ); Thu, 18 Apr 2013 08:55:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50975 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754981Ab3DRMzh (ORCPT ); Thu, 18 Apr 2013 08:55:37 -0400 Date: Thu, 18 Apr 2013 15:55:32 +0300 From: Gleb Natapov To: "Zhanghaoyu (A)" Cc: kvm list , "mst@redhat.com" , qemu-devel , "linux-kernel@vger.kernel.org" , Luonengjun , Zanghongyong , "Huangweidong (C)" , "Wangrui (K)" Subject: Re: KVM VM(windows xp) reseted when running geekbench for about 2 days Message-ID: <20130418125532.GW8997@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1318 Lines: 36 On Thu, Apr 18, 2013 at 12:00:49PM +0000, Zhanghaoyu (A) wrote: > I start 10 VMs(windows xp), then running geekbench tool on them, about 2 days, one of them was reset, > I found the reset operation is done by > int kvm_cpu_exec(CPUArchState *env) > { > ... > switch (run->exit_reason) > ... > case KVM_EXIT_SHUTDOWN: > DPRINTF("shutdown\n"); > qemu_system_reset_request(); > ret = EXCP_INTERRUPT; > break; > ... > } > > KVM_EXIT_SHUTDOWN exit reason was set previously in triple fault handle handle_triple_fault(). > How do you know that reset was done here? This is not the only place where qemu_system_reset_request() is called. > What causes the triple fault? > Are you asking what is triple fault or why it happened in your case? For the former see here: http://en.wikipedia.org/wiki/Triple_fault For the later it is to late to tell after VM reset. You can run QEMU with -no-reboot -no-shutdown. VM will pause instead of rebooting and then you can examine what is going on. -- Gleb. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/