Virtual Machines Flashcards
A virtual machines abstracts a ______ computer into several different _________ environments
single, execution
Every execution environment thinks it runs on its own __________
computer
A virtual machine manager (VMM) is also called a __________
Hypervisor
What does a VMM do?
Create and run virtual machines which run guest OSs
There and VMM that are run by ______ and ______
hardware, software
Where does the VMM lie between the layers of Process, kernel, and hardware?
Between kernel and hardware
Review the virtual machine structure
Review the virtual machine structure
A VM offers ________ and ________ between host and guest OSs
protection, isolation
A VM can host different kinds of ___________ ______
operating systems
A VM can suspend, ______, clone, _______, migrate, and do _____ computing
resume, backup, cloud
When a guest attempts to execute a privileged instruction, a _____ is raised to the VMM in the real machine, the VMM ______ the action for guest, and there is a ________ since it is not run on hardware
trap, executes, slowdown
If CPU commands behave different based on privilege, the _____ and _________ cannot be used
trap, emulate
Trap and emulate is a method to handle ________ instructions
privileged
When a guest OS is in user mode, run commands on the _______ ____
physical CPU
When a guest OS is in kernel mode, what are 2 outcomes when an instruction is run?
- Not Special Instruction: run natively
- Special Instruction: translate into a new set of instructions and execute via the VMM
The VMM maps guest page tables to _______ _____ _____
nested page tables (NPT)
Each guest OS pagin operation is translated to a _______ _____ _____ operation
nested page table
What are the 2 modes of operations for hardware acceleration?
host and guest
vCPU data structures load and store _____ CPU states quickly
guest