Virtualization Flashcards

1
Q

Virtualization

A

Virtualization consists in creating simulated (or virtual)
computing resources. These computing resources can include
network, storage, computing (CPU+memory).
It is one of the key techniques used to realize cloud
computing platforms.

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

What does the OS do

A

OS provides, for each application,
the illusion that the application is
the only one using the computer.
This can also be considered a
form of virtualization.

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

Why virtualize?

A

Provide a better abstraction for users of shared resources.
Higher and more flexible utilization of resources.
* Allows to share the same physical resources among multiple
users.
* Decoupling between the physical and virtual resources.
* Allows to share the resources among multiple users.

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

VMM

A

The VMM provides provides
the illusion of a machine
identical with the original
machine. The VMM controls
the hardware.

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

VM

A

It is the simulation of the “real machine”, with a “virtual hardware”
created/managed by the VMM.
* There may exist several VM instances running, and they:
* behave as if they were distinct, isolated, machines;
* run their applications unmodified and efficiently.

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

The hypervisor

A

It is an operating system that runs the (VM/VMM) processes.
* Sometimes VMM and hypervisor terms are used interchangeably.

  • A (VM+VMM) pair constitutes an hypervisor “process”.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Alternate forms of virtualization

A
  • System virtual machine.
  • Process virtual machine.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Language virtual machine

A

Provides an environment with a specific instruction set and
standard libraries for accessing the computer resources.
Runs as an application in an OS.
Programs are compiled for the language VM code and run in
the language VM.

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

Requirements for virtualization

A

The VMM (or hypervisor) should provide:
* Safety: the VM (guest OS/application) should not be
able to compromise the VMM, which should have full
control of the resources (real and virtual).
* Fidelity: when running, the behaviour of software on
the VM should be identical to the behaviour on real
hardware.
* Efficiency: the VMM should interpose itself as little as
possible while the VM is running its code.

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

How does the vmm protect itself from vms
(slow)

A

The VMM could maintain the state of the processor,
memory, IO and interpret each instruction of the VM,
updating the state of the processor/memory/IO
accordingly.
* This is safe, but very slooowwww…
* This is called an emulator, and it is necessary to run
programs compiled for a different processor.

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