From 619162052fe341afe4a98299b52d4ba1f8551deb Mon Sep 17 00:00:00 2001 From: mo khan Date: Sun, 23 May 2021 17:28:29 -0600 Subject: start notes on Virtual Machines --- doc/16.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 doc/16.md (limited to 'doc') diff --git a/doc/16.md b/doc/16.md new file mode 100644 index 0000000..364c322 --- /dev/null +++ b/doc/16.md @@ -0,0 +1,33 @@ +# Virtual Machines + +Virtual machines abstract the hardware of a single computer into several different execution environments. + +VM's involve several components: + +* host: hardware system that runs the VM's +* Virtual Machine Manager (VMM) aka hypervisor: creates an runs VM's +* guest: process provided with a virtual copy of the host. + +```plaintext +|-----------| |------------------------------------| +| | | processes | | | +| | | | processes | | +| processes | | | | processes | +| | | | | | +| | |-----------|-----------|------------| +|-----------| | kernel | kernel | kernel | +| kernel | |-----------|-----------|------------| +|-----------| | VM1 | VM2 | VM3 | +| hardware | |------------------------------------| +|-----------| | hypervisor | + |------------------------------------| + | hardware | + |------------------------------------| +``` + + +Hypervisor implementations vary: + +* type 0 hypervisor: hardware based solutions that provide support at the firmware level. +* type 1 hypervisor: OS like software built to provide virtualization. + -- cgit v1.2.3