Lecture: Virtual machines

You may refer to VMware’s Virtualization Overview if needed.

Question

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.

Question

Dune provides speedup for handling traps and garbage collection (Section 6.2/Table 3). Briefly explain why.

Question

Briefly describe how you would port Dune to xv6. Specifically, what kind of architectural support would be needed on RISC-V?

Question

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).

Dune source code

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.

administrivia

OS virtualization recap

overview

x86 virtualization

Dune