Jump to content

I recently installed Proxmox in an AMD EPYC 7302 16-Core Processor server, in addition to normal VMs I need to create a Windows VM that will start VMs with Virtualbox using a software we use to develop PLC software.

This setup worked on a previous Intel Xeon server with ubuntu and KVM/QEMU.

 

I followed the Proxmox guide here:

https://pve.proxmox.com/wiki/Nested_Virtualization

 

My Windows VM seems to correctly recognize virtualization support by displaying it in the task manager or on CPU-Z.

 

My VM configuration:

args: -cpu 'host,+svm,-hypervisor'
bios: ovmf
boot: order=scsi0;ide2;net0
cores: 4
cpu: host
efidisk0: Storage:106/vm-106-disk-1.qcow2,size=128K
ide2: Storage:iso/Windows10_InsiderPreview_Client_x64_en-us_21354.iso,media=cdrom
machine: pc-q35-5.2
memory: 16384
name: PCT3
net0: virtio=0E:C3:3D:3C:E8:79,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
parent: Inizio
sata1: Storage:iso/virtio-win-0.1.185.iso,media=cdrom,size=402812K
scsi0: Storage:106/vm-106-disk-0.qcow2,discard=on,size=200G
scsihw: virtio-scsi-pci
smbios1: uuid=88dc3ecd-ee73-4fe2-b802-6f0cde889e9e
sockets: 1
vmgenid: 7b28e483-aaad-49cb-8170-27d645eae13c

Virtualbox creating a virtual machine manually with Ubuntu gets stuck and doesn't start.

Documenting I seem to read that this is a problem using Windows and AMD CPU, I am currently using Windows 10 Insider Preview build 21354 but the problem remains, I also tested with Windows server .

Can nested virtualization work? is not supported by Windows?

Quote

 

The nested virtualization capability has so far been tested on "AMD's first generation Ryzen/Epyc or newer processors," the announcement indicated.

Microsoft hinted that it'll be possible to use Linux-based virtual machines with nested virtualization, stating that "Linux KVM [kernel-based virtual machine] guest support will be coming in the future."

 

 

 

Thanks in advance for the support

 

Schermata del 2021-05-09 22-10-05.png

Link to post
Share on other sites

I've not explicitely tried this setup so it may be something to do with Windows, but I do run nested virtualization on an AMD Ryzen 3950x, with Proxmox on top of UnRAID (both KVM). I can tell you that nested virtualization does work on Ryzen in general, but might be your specific case having Windows in there. Have you experimented with hyper-v or vmware workstation player to see if they give similar results? 

 

Here's Proxmox nested in UnRAID running an Ubuntu Guest

 

image.thumb.png.cf6593c975f0713712c626ac35fc762d.png

image.thumb.png.00b7b0de9aef558dcf602de0ef0e8add.png

 

 

And heres VMware (ESXi) on UnRAID running a Windows Server 2019 Guest

 

image.thumb.png.5a9c3ce380ae6ac1ff4a4c3c9657c76e.png

 

image.thumb.png.fc3cab5acb112e599de09504154ba429.png

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | Asus RTX 4060 Dual OC | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 8 x 20TB Seagate Exos X22 | 4 x 16TB Seagate Exos X18 | 3 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Spoiler

NAS: Innovision 4U 24-bay chassis (12GB MiniHD SGIO Backplane) | Intel Core i9-10980xe | EVGA X299 FTW-K | EVGA RTX 2080Ti Super FTW3 | 128GB (8x16GB) Corsair Vengeance LPX 3200Mhz | DEEPCOOL PN1000M PSU| Noctua NH-D12L Chromax Black | 16 x 16TB Seagate Exos X18 | 2 x 2TB Samsung 990 Pro | 2 x 2TB Intel U.2 P4510 | LSI 9305-24i HBA

 

Link to post
Share on other sites

10 hours ago, Jarsky said:

I've not explicitely tried this setup so it may be something to do with Windows, but I do run nested virtualization on an AMD Ryzen 3950x, with Proxmox on top of UnRAID (both KVM). I can tell you that nested virtualization does work on Ryzen in general, but might be your specific case having Windows in there. Have you experimented with hyper-v or vmware workstation player to see if they give similar results? 

 

Here's Proxmox nested in UnRAID running an Ubuntu Guest

 

image.thumb.png.cf6593c975f0713712c626ac35fc762d.png

image.thumb.png.00b7b0de9aef558dcf602de0ef0e8add.png

 

 

And heres VMware (ESXi) on UnRAID running a Windows Server 2019 Guest

 

image.thumb.png.5a9c3ce380ae6ac1ff4a4c3c9657c76e.png

 

image.thumb.png.fc3cab5acb112e599de09504154ba429.png

 

 

I solved the problem, nested virtualization is buggy with Proxmox linux kernel 5.4, upgrading to 5.11 solved it!

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×