在Windows Server 2019的Oracle VirtualBox中运行Windows 11 Pro时无法启用Hyper-V的问题求助
在Windows Server 2019的Oracle VirtualBox中运行Windows 11 Pro时无法启用Hyper-V的问题求助
各位好,我现在碰到了个头疼的问题:我没法在VirtualBox的Windows 11 Pro虚拟机里启用Hyper-V,但我必须依赖Hyper-V才能在Visual Studio里开发MAUI应用、使用Android模拟器,这直接卡了我的开发进度。
先跟大家说下我的环境:
- 宿主机:Windows Server 2019(已装最新服务包)
- 虚拟机软件:Oracle VirtualBox 7.0.12(最新版本)
- 客户机系统:Windows 11 Pro
核心问题是:虚拟机里的Hyper-V始终没法启用,鼠标悬停在禁用的Hypervisor选项上时,提示没有SLAT(二级地址转换)。但我用宿主机的systeminfo命令检查过,明明宿主机是支持SLAT的,结果如下:
Hyper-V Requirements:
VM Monitor Mode Extensions: Yes
Virtualization Enabled In Firmware: Yes
Second Level Address Translation: Yes
Data Execution Prevention Available: Yes
我已经尝试过这些操作:
- 宿主机上开启了嵌套虚拟化,执行过命令:
VBoxManage modifyvm "Developer" --nested-hw-virt on - 检查过虚拟机的设置项:
- 主板配置
- 处理器配置
- 加速选项配置
现在的错误表现是:在Hyper-V管理器里创建快速添加的虚拟机后,启动直接失败。事件查看器里的报错信息为:
Hypervisor launch failed; Second Level Address Translation is required to launch the hypervisor.
对应的事件XML内容如下:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-Hyper-V-Hypervisor" Guid="{52fc89f8-995e-434c-a91e-199986449890}" /> <EventID>59</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8000400000000000</Keywords> <TimeCreated SystemTime="2023-11-30T03:55:47.8606482Z" /> <EventRecordID>13096</EventRecordID> <Correlation ActivityID="{ee5ba102-fbae-4726-be84-d16b1df930dd}" /> <Execution ProcessID="4" ThreadID="8" /> <Channel>System</Channel> <Computer>Developer</Computer> <Security UserID="S-1-5-18" /> </System> <EventData /> </Event>
有没有朋友碰到过类似的问题?麻烦给点排查方向或者解决办法,万分感谢!
备注:内容来源于stack exchange,提问作者Walter Vehoeven




