1. 停止主机
virsh destroy win7
2. 删除主机定义
virsh undefine win7
3. 删除KVM虚拟机文件
rm -rf /opt/abc/win7.qcow2
4. 卸载yum中的kvm包
安装时:
yum install -y qemu-kvm qemu-key-tools virt-manager libvirt virt-install python-virtinst bridge-utils libseccomp
卸载时:
yum remove -y qemu-kvm qemu-key-tools virt-manager libvirt virt-install python-virtinst bridge-utils libseccomp