1) Start the "virsh" shell:
As root (or using "sudo"), run the following command on the KVM host:
Code: Select all
$ virsh
You can get a list of all clients on that KVM host:
Code: Select all
list --all
Code: Select all
Id Name State
----------------------------------------------------
2 my-kvmclient running
Code: Select all
shutdown my-kvmclient
Code: Select all
Id Name State
----------------------------------------------------
- my-kvmclient shut off
3) Undefine the client's domain:
Code: Select all
undefine my-kvmclient
That's it.
Links: