I'm trying to use Nested virtualization on VirtualBOX 6.1.46 on a FreeBSD host.
Apparently it seems to be supported, and when booted the guest OS (RH 8.8 in this case) shows the SVM support ( I'm on AMD 5950x)
Code: Select all
cat /proc/cpuinfo | grep svm
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch cpb vmmcall fsgsbase avx2 invpcid rdseed clflushopt arat nrip_save flushbyasid decodeassists
Code: Select all
[ 0.547606] Call Trace:
[ 0.548504] __module_text_address+0xe/0x70
[ 0.550094] BUG: unable to handle kernel paging request at ffffb8bb409a39c0
[ 0.552056] PGD 113b067 P4D 113b067 PUD 113c067 PMD 24a0067 PTE 0
[ 0.553665] Oops: 0000 [#4] SMP NOPTI
[ 0.554739] CPU: 0 PID: 1 Comm: init Not tainted 4.18.0-477.10.1.el8_8.x86_64 #1
[ 0.556707] Hardware name: Red Hat KVM, BIOS 1.16.0-3.module+el8.8.0+16781+9f4724c2 04/01/2014
[ 0.559017] RIP: 0010:__module_address+0x6e/0xf0
[ 0.560360] Code: 02 44 89 c1 83 e1 01 48 8d 41 01 48 8b 04 c5 c0 7a e0 b8 48 85 c0 74 de 48 8d 14 09 48 01 ca 48 c1 e2 03 48 f7 da 48 8d 0c 10 <4c> 8b 49 e0 4c 39 cf 73 b1 48 8b 40 10 48 85 c0 75 ea 41 8b 12 41
[ 0.565503] RSP: 0018:ffffb8bb4031f568 EFLAGS: 00010046
[ 0.566894] RAX: ffffb8bb409a39e0 RBX: ffffffffc019e000 RCX: ffffb8bb409a39e0
[ 0.568879] RDX: 0000000000000000 RSI: ffff8a0fc1880000 RDI: ffffffffc019e000
[ 0.570804] RBP: 0000000000000000 R08: 000000000000000a R09: ffffffffb9406560
[ 0.572754] R10: ffffffffb8e07ac0 R11: 0000000000000003 R12: 0000000000000000
[ 0.574716] R13: ffff8a0fc1880000 R14: ffffffffb8725037 R15: 0000000000000000
[ 0.576789] FS: 000000000262a3c0(0000) GS:ffff8a100e400000(0000) knlGS:0000000000000000
[ 0.579220] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.580726] CR2: ffffb8bb409a39c0 CR3: 0000000047e0a000 CR4: 00000000000506f0
Does anyone has ever successfully tried nested virtualization on VirtualBOX ?
There'are known constrains about supported nested VM ( kernel version... cpu number...)?
Thanks in advance,
Andrea