先查看你的宿主机支持不支持
grep -E '(vmx|svm)' /proc/cpuinfo
如果有返回,就支持
默认安装的vmware虚拟机不支持vt,
右击虚拟机的processor
选中
Virtualized HV is available for virtual hardware version 8 VMs on hosts that support Intel VT-x and EPT or AMD-V and RVI. To enable virtualized HV, select VM->Settings and navigate to the processor settings screen. Check the box next to "Virtualize Intel VT-x/EPT or AMD-V/RVI." You will see a warning that virtualized HV will make this VM incompatible with other VMware products. In particular, if this VM is moved to an ESXi 5.0 host, virtualized HV will not be available without additional tweaking.
centos安装软件包
yum install qemu-kvm qemu-img virt-manager libvirt libvirt-python libvirt-client virt-install virt-viewer bridge-utils
开启libvirtd服务
systemctl start libvirtd
systemctl enable libvirtd
查看kvm是否加载
lsmod | grep kvm
kvm_intel 162153 0
kvm 525409 1 kvm_intel
安装X Window System package
yum install "@X Window System" xorg-x11-xauth xorg-x11-fonts-* xorg-x11-utils -y
阅读(1800) | 评论(0) | 转发(0) |