virt-install hangs and won't die. How to stop safely?

by Stonecraft   Last Updated July 12, 2019 14:00 PM - source

I am having a problem where virt-install gets stuck in the very early stages and cant be killed (after saying "starting installation", but before the VM is visible in virt-manager).

Ctrl-C does not work to cancel virt-install, and systemctl restart libvirtd just hangs. I have to hard restart the machine. Even kill $libvirtPID just hangs. If I restart, restart hangs with a message of kvm: exiting hardware virtualization, and I have to hard restart.

For the moment, I am not asking for help with the cause of the hang, but rather I want to know whether there is a better/safer way to cancel a frozen virt-install.



Related Questions




Killing systemd service with and without systemctl

Updated October 17, 2018 20:00 PM


Killing process group safely

Updated August 02, 2017 16:00 PM