From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: How to debug problems when nothing shows up in kvm_stat on kvm-88? Date: Thu, 01 Apr 2010 17:47:07 +0300 Message-ID: <4BB4B1EB.806@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Neo Jia Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55410 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758328Ab0DAQhq (ORCPT ); Thu, 1 Apr 2010 12:37:46 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 03/31/2010 07:56 AM, Neo Jia wrote: > hi, > > I am running official kvm-88 release That's pretty old. Suggest trying the latest kvm-kmod release (or latest kernel.org release with its native kvm modules) and qemu-kvm-0.12.3. > with my own 32-bit .so library > dlopen'ed by qemu-kvm. So it has 32-bit qemu-kvm on 64-bit kvm kernel > module. Everything works great but after a while the guest (winxp > 32-bit) hard hangs and kvm_stat shows 0. > > So, is there any way to trace back when the kvm_stat starts showing > 0s? qemu-kvm is still alive. > > Attach to qemu with gdb and see what the threads are doing. Without information about your library (I assume it works without it) there's not much advice I can give. -- error compiling committee.c: too many arguments to function