ivanhao / pvetools

proxmox ve tools script(debian9+ can use it).Including email, samba, NFS set zfs max ram, nested virtualization ,docker , pci passthrough etc. for english user,please look the end of readme.
GNU General Public License v3.0
4.1k stars 501 forks source link

在PVE7.2-3 && win 11 中开启嵌套虚拟化失败 #60

Open qq943384135 opened 1 year ago

qq943384135 commented 1 year ago

我在使用:PVE7.2-3 win 11 cpu : i7-8700k 主板:技嘉gaming5 z370

给win 11 开启嵌套虚拟化后, 我的win11 无法启动 获得以下错误

swtpm_setup: Not overwriting existing state file.
audio: Could not init `spice' audio driver
audio: warning: Using timer based audio emulation
kvm: unable to find CPU model ''
stopping swtpm instance (pid 1561) due to QEMU startup error
TASK ERROR: start failed: QEMU exited with code 1

在我再次用脚本关闭单独虚拟化时我又得到了以下错误:

swtpm_setup: Not overwriting existing state file.
kvm: ,+vmx: Could not open ',+vmx': No such file or directory
stopping swtpm instance (pid 1396) due to QEMU startup error
TASK ERROR: start failed: QEMU exited with code 1

最后我手动删除了添加的指令才能启动虚拟机 我的主板没有vt-x选项 只有vt-d我推测它将两者合二为一了,我已经开启并正常运行了硬件直通