Solved About nested virtualization for bhyve

I know the scheme like this can be implemented:
Code:
/-------------------------\
|    KVM on Linux Host    |
|   -------------------   |
|  |   FreeBSD guest   |  |
|  |   -------------   |  |
|  |  | bhyve guest |  |  |
|  |   -------------   |  |
|   -------------------   |
\-------------------------/

Does bhyve support the following schemes?
Code:
 Scheme A:
/-------------------------\
|  bhyve on FreeBSD Host  |
|   -------------------   |
|  |   FreeBSD guest   |  |
|  |   -------------   |  |
|  |  | bhyve guest |  |  |
|  |   -------------   |  |
|   -------------------   |
\-------------------------/

Scheme B:
/---------------------------\
|   bhyve on FreeBSD Host   |
|   ---------------------   |
|  |    Windows guest    |  |
|  |   ---------------   |  |
|  |  | Hyper-V guest |  |  |
|  |   ---------------   |  |
|   ---------------------   |
\---------------------------/
 
Last edited:
Maybe my knowledge here is outdated, but AFAIK, hardware only supports one extra layer in page tables for virtualization, so nested virtualization should be avoided anyways (requires expensive address translations in software).
 
Maybe my knowledge here is outdated, but AFAIK, hardware only supports one extra layer in page tables for virtualization, so nested virtualization should be avoided anyways (requires expensive address translations in software).
Yes, I just do it for debugging on non-baremetal servers because of the ugly performance.


Thanks, these URLs just refer how to enable nested virtualization on non-bhyve hosts like I knew.

What about on a bhyve host? For example, any configruation in /boot/loader.conf or /etc/sysctl.conf to enable it?
 
OK, I have confirmed this to grehan@: this function isn't yet supported as bhyve will have to emulate VT-x/SVM functionality.
 
Back
Top