You may refer to VMware’s Virtualization Overview if needed.
Since a Dune process is running in ring 0 and has full access
to privileged instructions (e.g., modifying %cr3
),
can it corrupt or take control of the underlying Linux kernel?
Briefly explain why or why not.
Dune provides speedup for handling traps and garbage collection (Section 6.2/Table 3). Briefly explain why.
Briefly describe how you would port Dune to xv6. Specifically, what kind of architectural support would be needed on RISC-V?
Provide a list of questions you would like to discuss in class. Feel free to provide any comments on the papers and related topics (e.g., which parts you like and which parts you find confusing).
If you are interested, check out the source code of Dune on GitHub.
Write down your answers in a file named answers.txt
, and upload it
using Canvas.
vmread
/vmwrite
) to access%cr3
in softwarevmcall
/vmmcall
cause VM exits