Jiangshan Lai, Ant Group; Hang Huang, Alibaba Cloud and Huazhong University of Science and Technology; Quan Xu and Zhen Ren, Alibaba Cloud; Wenlong Hou, Ant Group; Wei Guo, Alibaba Cloud; Jia Rao and Hui Lu, The University of Texas at Arlington; Weidong Han, Jiesheng Wu, Jiang Liu, Naixuan Guan, and Yibin Shen, Alibaba Cloud; Feng Yu and Xu Wang, Ant Group; Shiqiang Zhang, Alibaba Cloud; Zhiheng Tao, Ant Group; Yisheng Xie, Alibaba Cloud; Song Wu and Hai Jin, Huazhong University of Science and Technology
Secure containers such as Kata Containers strengthen isolation by running each container inside a lightweight VM. On today’s virtualized clouds, this creates an unavoidable form of nested virtualization with dominant cost in memory virtualization. Existing approaches entangle CPU virtualization and three-level page-table management across hypervisors, forcing frequent cross-world synchronization and producing severe overheads for mixed memory-access workloads.
We present JANUS, a cross-world, cooperative nested virtualization architecture that cleanly separates CPU and memory virtualization responsibilities. JANUS performs all guest world switches entirely within the guest hypervisor through a lightweight switcher mechanism, while delegating all memory translation to the host hypervisor. This separation removes the host from the critical path of CPU events and eliminates the intermediate shadow or nested page tables that burden existing designs. JANUS introduces several key techniques, including VMFUNC-based EPTP switching for trap-free transitions between guest and nested-guest address spaces; a shadow-root mechanism that protects world-switch integration while allowing direct updates to the nested guest’s page tables; and in-guest virtualization exception handling that enables the guest hypervisor to resolve second-level faults with only a single lightweight host interaction. Evaluations demonstrate that JANUS delivers an average performance improvement of 144% over PVM and 28.6% over KVM-based nested virtualization for real-world applications, and imposes less than 5% overhead compared to native containers in production deployment. JANUS demonstrates that rethinking nested virtualization around cross-world cooperation yields strong isolation with near-native container performance.
OSDI '26 Open Access Sponsored by
King Abdullah University of Science and Technology (KAUST)
Open Access Media
USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.

author = {Jiangshan Lai and Hang Huang and Quan Xu and Zhen Ren and Wenlong Hou and Wei Guo and Jia Rao and Hui Lu and Weidong Han and Jiesheng Wu and Jiang Liu and Naixuan Guan and Yibin Shen and Feng Yu and Xu Wang and Shiqiang Zhang and Zhiheng Tao and Yisheng Xie and Song Wu and Hai Jin},
title = {{JANUS}: {Cross-World}, Cooperative Nested Virtualization for Secure Containers},
booktitle = {20th USENIX Symposium on Operating Systems Design and Implementation (OSDI 26)},
year = {2026},
isbn = {978-1-939133-55-7},
address = {Seattle, WA},
pages = {1015--1031},
url = {https://www.usenix.org/conference/osdi26/presentation/lai},
publisher = {USENIX Association},
month = jul
}