VirtualBox啓用嵌套VT-x/AMD-V

當前筆記本操作系統爲Windows 10 教育版,CPU爲i7-8750H,在BIOS內已經默認啓用了虛擬化:

 

 

 

 

需要安裝RedHat 6.4 做一些測試,使用VirtualBox進行虛擬,版本爲6.1:

 

 

 在VirtualBox內成功安裝了rhel,但是始終無法支持vmx。查看虛擬機設置內發現無法啓用 嵌套VT-x/AMD-V ,選項爲灰色:

 

 

 

通過查閱資料得知需要使用VBoxManage以命令行的方式進行開啓,操作步驟如下:

Microsoft Windows [版本 10.0.17134.1902]
(c) 2018 Microsoft Corporation。保留所有權利。

C:\Users\nextfriend>f:

F:\>cd F:\VirtualBox

F:\VirtualBox>VBoxManage.exe list vms
"rhel64" {240f96d8-6535-431d-892e-b70f3dc464e8}

F:\VirtualBox>VBoxManage.exe modifyvm "rhel64" --nested-hw-virt on

 

 執行完成後可以看到選項已經被選中,而且可以自行操作了。

 

進入虛擬機,執行:

cat proc/cpuinfo |grep vmx

已經可以看到vmx flag。

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章