TwinVisor: Hardware-isolated Confidential Virtual Machines for ARM

被引:21
|
作者
Li, Dingji [1 ,2 ,3 ]
Mi, Zeyu [1 ,3 ]
Xia, Yubin [1 ,3 ]
Zang, Binyu [1 ,3 ]
Chen, Haibo [1 ,3 ]
Guan, Haibing [4 ]
机构
[1] Shanghai Jiao Tong Univ, Inst Parallel & Distributed Syst, Shanghai, Peoples R China
[2] Shanghai Jiao Tong Univ, AI Inst, MoE Key Lab Artificial Intelligence, Shanghai, Peoples R China
[3] Minist Educ, Engn Res Ctr Domain Specif Operating Syst, Beijing, Peoples R China
[4] Shanghai Jiao Tong Univ, Shanghai Key Lab Scalable Comp & Syst, Shanghai, Peoples R China
来源
PROCEEDINGS OF THE 28TH ACM SYMPOSIUM ON OPERATING SYSTEMS PRINCIPLES, SOSP 2021 | 2021年
基金
中国国家自然科学基金;
关键词
Cloud Computing; Virtualization; Confidential Computing; ARM TrustZone; ENERGY EFFICIENCY; PERFORMANCE;
D O I
10.1145/3477132.3483554
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Confidential VM, which offers an isolated execution environment for cloud tenants with limited trust in the cloud provider, has recently been deployed in major clouds such as AWS and Azure. However, while ARM has become increasingly popular in cloud data centers, existing confidential VM designs mainly leverage specialized x86 hardware extensions (e.g., AMD SEV and Intel TDX) to isolate VMs upon a shared hypervisor. This paper proposes TwinVisor, the first system that enables the hardware-enforced isolation of confidential VMs on ARM platforms. TwinVisor takes advantage of the mature ARMTrustZone to run two isolated hypervisors, one in the secure world (called S-visor in this paper) and the other in the normal world (called N-visor), to support normal VMs and confidential VMs respectively. Instead of building a new S-visor from scratch, our design decouples protection from resource management, and reuses most functionalities of a full-fledged N-visor to minimize the size of S-visor. We have built two prototypes of TwinVisor: one on an official ARM simulator with S-EL2 enabled to validate functional correctness and the other on an ARM development board to evaluate performance. The S-visor comprises 5.8K LoCs while the N-visor introduces 906 LoC changes to KVM. According to our evaluation, TwinVisor can run unmodified VM images as confidential VMs while incurring less than 5% performance overhead for various real-world workloads on SMP VMs.
引用
收藏
页码:638 / 654
页数:17
相关论文
共 36 条
  • [21] Real-Time Scheduling for Xen-ARM Virtual Machines
    Yoo, Seehwan
    Yoo, Chuck
    IEEE TRANSACTIONS ON MOBILE COMPUTING, 2014, 13 (08) : 1857 - 1867
  • [22] General Purpose Hardware Abstraction Layer for Multiple Virtual Machines in Mobile Devices
    Lee, Sang-Min
    Kim, Dong-Geun
    Shin, Dong-Ryeol
    11TH INTERNATIONAL CONFERENCE ON ADVANCED COMMUNICATION TECHNOLOGY, VOLS I-III, PROCEEDINGS,: UBIQUITOUS ICT CONVERGENCE MAKES LIFE BETTER!, 2009, : 362 - +
  • [23] Supporting Trusted Virtual Machines with Hardware-Based Secure Remote Memory
    Heo, Taekyung
    Kang, Seunghyo
    Lee, Sanghyeon
    Hwang, Soojin
    Park, Joongun
    Huh, Jaehyuk
    PROCEEDINGS OF THE 2024 ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON MEMORY MANAGEMENT, ISMM 2024, 2024, : 43 - 56
  • [24] Virtual Machines of High Availability Using Hardware-Assisted Failure Detection
    Wang, Wei-Jen
    Huang, Hung-Lin
    Chuang, Shan-Hao
    Chen, Shao-Jui
    Kao, Chia Hung
    Liang, Deron
    49TH ANNUAL IEEE INTERNATIONAL CARNAHAN CONFERENCE ON SECURITY TECHNOLOGY (ICCST), 2015, : 117 - 122
  • [26] Platform Device Assignment to KVM-on-ARM Virtual Machines via VFIO
    Motakis, Antonios
    Rigo, Alvise
    Raho, Daniel
    2014 12TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND UBIQUITOUS COMPUTING (EUC 2014), 2014, : 170 - 177
  • [27] Undertow: An Intra-Kernel Isolation Mechanism for Hardware-Assisted Virtual Machines
    Yang, Zihan
    Mi, Zeyu
    Xia, Yubin
    2019 13TH IEEE INTERNATIONAL CONFERENCE ON SERVICE-ORIENTED SYSTEM ENGINEERING (SOSE) / 10TH INTERNATIONAL WORKSHOP ON JOINT CLOUD COMPUTING (JCC) / IEEE INTERNATIONAL WORKSHOP ON CLOUD COMPUTING IN ROBOTIC SYSTEMS (CCRS), 2019, : 257 - 262
  • [28] HA-VMSI: A Lightweight Virtual Machine Isolation Approach with Commodity Hardware for ARM
    Zhu, Min
    Tu, Bibo
    Wei, Wei
    Meng, Dan
    ACM SIGPLAN NOTICES, 2017, 52 (07) : 242 - 256
  • [29] A selective dynamic compiler for embedded Java']Java virtual machines targeting ARM processors
    Debbabi, M
    Gherbi, A
    Mourad, A
    Yahyaoui, H
    SCIENCE OF COMPUTER PROGRAMMING, 2006, 59 (1-2) : 38 - 63
  • [30] Protecting Virtual Machines against Untrusted Hypervisor on ARM64 Cloud Platform
    Zhou, Qihang
    Jia, Xiaoqi
    Nan Jiang
    IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC 2022), 2022, : 5451 - 5456