Module 14: Virtualization Flashcards

1
Q

virtualization

A

the ability for a computer to run multiple OSes on the same physical machine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

host

A

the underlying physical machine hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

virtual machine manager / hypervisor

A

software that allows creating and running virtual machines on the host machine; the VM’s each then run with their own operating systems and applications; the VMM manages the computing, memory, and storage resources required for the VMs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

guest OS

A

user-level process that usually runs an OS system over the VMM hypervisor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

host OS

A

the OS that runs on the hardware (for a type 2 hypervisor)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

type 0 hypervisor

A

a hypervisor that’s implemented in firmware or hardware; hardware is statically partitioned across different guest OSes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

type 1 hypervisor

A

the hypervisor itself essentially replaces the OS and runs in kernel mode; the guest OS believes it is running on bare metal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

type 2 hypervisor

A

the VMM hypervisor runs on top of the host OS in user mode as a process; the host doesn’t know that the VMM is running guest OSes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

sandboxing

A

a type of virtualization in which a tightly controlled environment with a guest OS and isolated set of resources is created to allow untested, unverified, or untrusted programs to run; this technique helps maintain security for the host machine or host OS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

VM templating

A

create an OS system and application image, and clone it across multiple VMs saving installation the effort of doing manual software installations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

virtual cpu (VCPU)

A

a software emulation of a CPU that represents the state of the CPU (including the PCB and execution state) for each of the guest OSes)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

trap and emulate

A

when the guest OS of the VM attempts to execute a privileged instruction, since it is in user mode, the action will cause a “trap”; the VMM will handle the trap and execute the instruction attempted by the guest, then return control to the guest in user mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

binary translation

A

an alternative to trap and emulate in which instead of doing trap-and-emulate for every instruction that runs in the guest OS, the guest OS instructions are translated to equivalent instructions in the VMM. the original assembly code from the guest OS is simply translated to the code for the equivalent implementation in the VMM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

CPU scheduling for virtualization

A

given multiple VCPUs and physical CPUs, the scheduling algorithm decides which VCPU to run next on a given CPU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

memory management for virtualization

A

guest page table: maps the guest OSes virtual addresses to what the guest OS believes to be the physical addresses

host page table: the guest physical addresses are separately mapped to host virtual addresses

shadow page table: maintained by the VMM to map guest virtual addresses to host physical addresses, optimizing the translation process to manage virtualization; the shadow page table is loaded into the MMU during a context switch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

full virtualization

A

the guest OS is unaware of the hypervisor and believes it is running on bare metal

17
Q

paravirtualization

A

the guest OS is aware of the underlying hypervisor and thus implements optimizations given this knowledge; the shadow page table and efficient I/O techniques are examples of paravirtualization

18
Q

efficient I/O in paravirtualization

A

a circular buffer maintains all the intermediate I/O state between the guest and the VMM through shared memory which results in much better performance than dealing with the levels of indirection between the guest OS and physical device

19
Q

application containment

A

containerization is an alternative to full virtualization that allows isolating individual applications; the different containers run on the host OS and have standard formats; the container virtualization layer allows the containers to communicate and abstracts the specific host OS from the application containers

20
Q

microservices

A

complication applications are broken down into modular components called microservice; each service has its own process

21
Q

programming environment virtualization

A

a custom environment designed for a programming language that includes features that enable optimized execution (e.g. Java Virtual Machine)