From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard Schmidt Subject: kvm hangs when rebooting a guest VM Date: Wed, 1 Oct 2008 16:52:16 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from main.gmane.org ([80.91.229.2]:56949 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753110AbYJAQwd (ORCPT ); Wed, 1 Oct 2008 12:52:33 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kl4w6-0003y3-Tw for kvm@vger.kernel.org; Wed, 01 Oct 2008 16:52:28 +0000 Received: from ppp-88-217-13-56.dynamic.mnet-online.de ([88.217.13.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Oct 2008 16:52:26 +0000 Received: from berni by ppp-88-217-13-56.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Oct 2008 16:52:26 +0000 Sender: kvm-owner@vger.kernel.org List-ID: Hello, I have a small but annoying issue. Host: * AMD Athlon64 * Debian Lenny, Kernel 2.6.26-1-amd64 * kvm-72 (Debian package) or kvm-76 (self-built) Guest: * monolithic vanilla 2.6.26, KVM_GUEST and KVM_CLOCK, VIRTIO for both block device and NIC * various Debian and Ubuntu versions I don't use any libvirt or similar things, I start the VMs by directly calling kvm in a script. I directly specify the kernel and it's options with the -kernel and -append parameters. Problem: Shutting down a VM from inside it (shutdown -h now) works just fine. Will now halt. [171368.812319] ACPI: Preparing to enter system sleep state S5 [171368.816964] Power down. [171368.820177] acpi_power_off called then the kvm process exits. However, restarting the VM (reboot) does not work ... Will now restart. [ 37.088270] Restarting system. [ 37.089775] machine restart this is where the KVM process hangs in a loop and uses 100% CPU on the host. I can still kill it (Ctrl-A x) or change to it's console, but system_restart doesn't seem to work there either. iggy suggested to use an extboot.bin from an earlier kvm version (I used kvm-60), didn't change. Any idea what could be wrong here? Regards, Bernhard