首先检查 KVM host(宿主机/母机)上的kvm_intel模块是否打开了嵌套虚拟机功能(默认未开启的):
root@localhost:~# modinfo kvm_intel | grep nested
parm: nested:bool
root@localhost:~# cat /sys/module/kvm_intel/parameters/nested
N
root@localhost:~#
如果上面的显示结果是 N 的话需要开启 nested:
root@localhost:~# modprobe -r kvm-intel
root@localhost:~# modprobe kvm-intel nested=1
root@localhost:~# cat /sys/module/kvm_intel/parameters/nested
Y
如果提示下面的报错,则说明宿主机中有KVM虚拟机正在运行,全部关机后再操作。
modprobe: FATAL: Module kvm_intel is in use.
Hey,
"Category" looked off to me, possibly misspelled. spellingreport.com has helped me clear these up before.
Cheers,
Amy
Hi there,
"Copyright" stood out-- maybe misspelled? Quickly confirming with spelldoc.com or another tool usually helps.
Cheers,
Maria