ClassQuiz
Play
Explore
Search
Docs
GitHub
Register
Log in
Donate
❤️
ClassQuiz
Play
Device Virtualization Quizz
Devices, busses, drivers and other shenanigans
Made by
@sameo
0
0
4
50
Practice
Download
Report
A CPU runs all instructions from a VM
1: A CPU runs all instructions from a VM
20s
True
False
What is a VM-Exit
2: What is a VM-Exit
20s
A virtual machine shutdown
A transition between two CPU modes
A use logging out from its VM
How does a CPU handle a VM-Exit
3: How does a CPU handle a VM-Exit
20s
It ignores it
It runs a special VM-Exit handler
It halts and waits for the user input
Select the wrong answer
4: Select the wrong answer
30s
A GPU is a device
An ethernet card is a device
A USB port is a device
A USB keyboard is a device
What is a bus?
5: What is a bus?
30s
A transport vehicle
A piece of hardware
A USB cable
A PCI card
Devices drivers…
6: Devices drivers…
30s
Are shared libraries
Are pieces of code
Can only be run in kernel mode
Control buses
An network card just received a TCP packet. How can it let the processor know about it?
7: An network card just received a TCP packet. How can it let the processor know about it?
45s
It sends an interrupt to the processor
It does not have to, the processor will pick it up after a while
The processor does not need to know, the card processes the packet
The ethernet card generates a VM exit
Can virtual machines use devices?
8: Can virtual machines use devices?
20s
Yes
No
Can a I share my NVIDIA GPU with an Ubuntu virtual machine?
9: Can a I share my NVIDIA GPU with an Ubuntu virtual machine?
20s
Yes
No
Can I donate my AMD GPU to an Ubuntu virtual machine?
10: Can I donate my AMD GPU to an Ubuntu virtual machine?
20s
Yes
No
What is an virtual device?
11: What is an virtual device?
20s
A physical device from the host that the virtual machine uses directly
A physical device that the VMM emulates for the virtual machine
What is the most performant way to virtualize a device?
12: What is the most performant way to virtualize a device?
20s
Direct assignement of a physical device in the VM
Physical device emulation from the VMM
Device paravirtualization