Do you see this error (error: Timed out during operation: cannot acquire state change lock) while starting or stopping virtual machines using libvirt (virsh). Well, if you do, then I think I have a solution for it. Please try this at your own risk. I’m not responsible for any problems or damage caused by following procedure mentioned below.
This solution worked for me on Debian lenny and I hope will also work on other linux boxes too.
Login as a root user and kill the libvirtd.
killall -9 libvirtd
Remove the libvirtd pid file.
So, check my source to find more.
If you like this article, then please consider sharing it. Sharing really inspires us to do things much better!!