All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Schmidt <berni@birkenwald.de>
To: kvm@vger.kernel.org
Subject: kvm hangs when rebooting a guest VM
Date: Wed, 1 Oct 2008 16:52:16 +0000 (UTC)	[thread overview]
Message-ID: <gc09s0$iq3$1@ger.gmane.org> (raw)

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


             reply	other threads:[~2008-10-01 16:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-01 16:52 Bernhard Schmidt [this message]
2008-10-16 21:53 ` kvm hangs when rebooting a guest VM Bernhard Schmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gc09s0$iq3$1@ger.gmane.org' \
    --to=berni@birkenwald.de \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.