| ▲ | stinkbeetle 18 hours ago | |||||||||||||||||||||||||
The alternatives are the L0 emulates a hypervisor-privileged mode to the L1 which would be a performance cost (and does not really avoid the problem since the L0 would have to emulate vmenter/vmrun and therefore be aware of the L2 anyway, or the hardware would have to provide some nested virtualization facility which seems like it would be complicated and expensive for little benefit, though I could be mistaken. Does anything do a "real" nested virtualization in hardware? s390 might but I know ~nothing about it and it probably does not expose its bare metal hardware layers to Linux/KVM anyway. | ||||||||||||||||||||||||||
| ▲ | nijave 16 hours ago | parent | next [-] | |||||||||||||||||||||||||
IBM mainframes might but I have a very shallow understanding. Found this https://sixe.eu/news/kvm-nested-vms-ibm-power-linux-lpar | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | bonzini 16 hours ago | parent | prev [-] | |||||||||||||||||||||||||
No, even s390 needs shadow paging. Intel and AMD both have some small amount of acceleration of nested virtualization, respectively with shadow VMCS and virtualized VMLOAD/VMSAVE. | ||||||||||||||||||||||||||