Virtual Machines Flashcards

1
Q

What is a VM?

A

A virtual machine provides multiple execution environments, creating the illusion that each env. is running on it’s own private computer.

A VM instance hosts an operating system. It executes in user mode and emulates part (or all) of the instruction set of the virtualised hardware. Privileged operation cause a trap to the VMM/hypervisor

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

What are the types of virtualisation?

A
  • native/bare metal/type I
  • – hypervisor running directly on hardware
  • – multiple OS images hosted
  • hosted/embedded/type 2
  • – host OS has a VM manager built in
  • – e.g. can host linux under windows
  • emulation
  • – interpreted, emulates a different machine
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a hypervisor?

A

A manager for VMs. Executes in privileged mode and interfaces with the system hardware. Privileged operation cause a trap to the VMM/hypervisor.

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

Pros and cons of VMs?

A

pros:

  • improved hardware utilisation
  • flexibility
  • protection through isolation

cons:

  • no direct sharing of resources (may be achieved in software)
  • performance penalties
How well did you know this?
1
Not at all
2
3
4
5
Perfectly