Azimout's Linux weblog

Can’t kill stuck KVM/Qemu virtual machine

with one comment

I had a problem recently where one of my virtual machines would get stuck at 100% CPU usage and I couldn’t kill it. Virt-manager would return with an error “cannot acquire state change lock”, and virsh too. There’s a bug at Redhat’s bugzilla about this:

The way to get around this is to restart the libvirt service: sudo service libvirt-bin restart. Then try killing it again:

  • virsh list
  • virsh connect qemu:///system
  • virsh destroy <domain>

Written by azimout

07/02/2011 at 00:08

Posted in Problems

One Response

Subscribe to comments with RSS.

  1. Thank you 🙂

    Un Known

    27/06/2011 at 08:14

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: