diff options
| author | mo khan <mo@mokhan.ca> | 2021-05-23 17:28:29 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2021-05-23 17:28:29 -0600 |
| commit | 619162052fe341afe4a98299b52d4ba1f8551deb (patch) | |
| tree | ec6a8e96cce5c77a77082dd8933eb97bcdb511e8 /doc | |
| parent | 302605eabf98034464c213070e9bf1086357adcc (diff) | |
start notes on Virtual Machines
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/16.md | 33 |
1 files changed, 33 insertions, 0 deletions
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. + |
