Nested Virtualization Under KVM Hypervisor

Pete Wright pete at nomadlogic.org
Thu Sep 10 14:46:34 UTC 2020


u

On 9/10/20 12:30 AM, Peter Grehan wrote:
> Hi Pete,
>
>> Sep 10 03:25:01 bells kernel: vmx_init: processor does not support 
>> desired basic capabilities
>
>  ^^^  This is what's causing the issues, and is covered in the first 
> bug report I mentioned 
> (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203994)
>
>  Would you be able to dump the MSRs for the FreeBSD guest as mentioned 
> in the bug report ?
>

Ah I see - once I realized we had a newer kernel I didn't focus too much 
on the first bug - here's the MSR's


MSR 0x480: 0x00981000 0x11e57ed0
MSR 0x482: 0xfff9fffe 0x0401e172
MSR 0x48b: 0x000003fb 0x00000000
MSR 0x48c: 0x00000f01 0x04114040

>> since you mention this is a possible bug with KVM is there some 
>> useful information i can relay to my ISP (they are a BSD friendly 
>> vendor) that they can try on their end as a workaround, or perhaps 
>> something they ping the linux/kvm community about?
>
>  As above, this isn't the issue for this particular case: it manifests 
> as a hypervisor guest immediately exiting when started.
>

ok perfect this aligns with what i'm seeing as well when i run bhyvload 
or bhyvectl and it just bails with a "vm_create: Device not configured" 
error.

Cheers,
-p

-- 
Pete Wright
pete at nomadlogic.org
@nomadlogicLA



More information about the freebsd-virtualization mailing list