ECE344-Lecture26-Virtualization

ECE344-Lecture26-Virtualization - Lecture 26 Virtualization...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Lecture 26: Virtualization David Lie ECE344 University of Toronto
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 ECE344: Operating Systems System Virtualization Operating systems virtualize the CPU and devices so that you can run multiple, independent processes: – Each process is isolated, it believes it has exclusive access to the CPU, memory, and devices Virtualization is the act of making something that doesn’t actually exist: – In the OS case, this is making multiple instances of an abstracted hardware instance that include CPU, memory, devices, etc…
Background image of page 2
3 ECE344: Operating Systems System Virtualization Because of the different operating systems available and the limitations of operating systems themselves, it is useful to be able to run multiple OS images on the same machine: – A hypervisor or virtual machine monitor (VMM) virtualizes the computer hardware to create multiple virtual instances of hardware – Each OS image believes it is running exclusively on a hardware platform running in a Virtual Machine (VM)
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 ECE344: Operating Systems System Virtualization VMM is an OS that runs other OSes: – Provides isolation and emulates virtual copies of hardware – However, does not abstract – provides the same interface as underlying hardware (it is transparent) VMM Hardware VMM Linux Windows XP Windows 7 Proprietary OS Virtual Network
Background image of page 4
5 ECE344: Operating Systems Hypervisors vs VMMs Definitions: – Hypervisor: A software component that is isolated from OS and has higher privilege than the kernel (runs between kernel and hardware – VMM: A software component that virtualizes the hardware platform to create multiple, virtual instances of it All VMMs are hypervisors: – To virtualize the hardware, the VMM must intercept and prevent some direct accesses to the hardware by the OS kernel – However, not all hypervisors are VMMs, one can have a hypervisor that just intercepts the OS for security, i.e. xbox, PS3 hypervisors
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 ECE344: Operating Systems
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 17

ECE344-Lecture26-Virtualization - Lecture 26 Virtualization...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online