This tutorial will walk you through building and executing two versions of our core slicing prototype: one with desired security properties in RISC-V, and another for performance evaluation in x86.
For more background, see Core slicing: closing the gap between leaky confidential VMs and bare-metal cloud, OSDI 2023.
To cite this paper, use the following BibTeX entry:
@inproceedings{zhou2023coreslicing,
author = {Ziqiao Zhou and Yizhou Shan and Weidong Cui and Xinyang Ge and Marcus Peinado and Andrew Baumann},
title = {Core slicing: closing the gap between leaky confidential {VMs} and bare-metal cloud},
booktitle = {17th USENIX Symposium on Operating Systems Design and Implementation (OSDI 23)},
year = {2023},
pages = {247--267},
address = {Boston, MA, USA},
publisher = {USENIX Association},
url = {https://www.usenix.org/system/files/osdi23-zhou-ziqiao.pdf},
}Jump to 👉 quick-start if you do not want to compile from source code.
Follow 👉 build tutorial to build from source code.
There are some limitations of using QEMU-based emulation, such as:
- ⏰ Timestamp from log is not useful since it is under QEMU.
- 🚧 Slice cache will always show zero value for cache controller registers since the cache emulation is unimplemented.
- 📺 UART-0 is assigned to slice-0, UART-1 is reserved for normal harts to use before they are locked into a slice, UART-2 is used by hart1 and hart2, UART2 is used by hart 3 and hart4.
Jump to 👉 slice-x86 for x86 tutorials. You need a machine with SR-IO support NIC.
Jump to 👉 slice-x86-exp