Week 14: Virtualization Flashcards

1
Q

Virtualization :

A

the ability for a computer to run multiple operating systems 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 or 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 operating system

A

user-level process that usually runs an operating

system over the VMM hypervisor

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

Host operating system

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 operating systems

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 operating
system 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 operating

system 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 operating system 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 operating system

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

VM templating :

A

create an operating system and application image, and clone it
across multiple machines, 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:

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 operating systems

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

alternative to trap and emulate in which instead of doing
trap-and-emulate for every instruction that runs in the guest operating system,
the guest OS instructions are translated on the fly to equivalent instructions in the
VMM. The original assembly code from the guest OS is simply translated to 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:
Host page table :
Shadow page table :

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

Shadow page table :

A

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

17
Q

Host page table

A

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

18
Q

Guest page table:

A

maps the guest OS’s virtual addresses to what the

guest OS believes to be physical addresses

19
Q

Full virtualization:

A

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

20
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

21
Q

Efficient I/O :

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

22
Q

Application containment

A

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

23
Q

Microservices :

A

complicated applications are broken down into modular

components called microservice; each service is its own process

24
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)