Fencing on KVMs?

How to fence VMs on KVM?

There is a virtual BMC device in KVM that can be used. The problem with using virtual BMC is it is the same as a "virsh shutdown " and the VM may not respond or may refuse to shutdown. This is also true in cloud systems. It is recommended to add another VM and use an SBD rather than the hypervisor APIs.