# yum install -y qemu-kvm qemu-img virt-manager libvirt
# yum install -y libvirt-python python-virtinst libvirt-client
# yum install -y virt-install virt-viewer libvirt-lock-sanlock
# vi /etc/libvirt/qemu.conf
lock_manager = "sanlock"
# vi /etc/libvirt/qemu-sanlock.conf
auto_disk_leases = 1
disk_lease_dir = "/var/lib/libvirt/sanlock"
host_id = 1
user = "root"
group = "root"