virtual machines part 2 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Virtual Machines (part 2) PowerPoint Presentation
Download Presentation
Virtual Machines (part 2)

Loading in 2 Seconds...

play fullscreen
1 / 12

Virtual Machines (part 2) - PowerPoint PPT Presentation


  • 95 Views
  • Uploaded on

Virtual Machines (part 2). CPS210 Spring 2006. Papers. Xen and the Art of Virtualization Paul Barham ReVirt: Enabling Intrusion Analysis through Virtual Machine Logging and Replay George Dunlap. X. Virtualization in the enterprise.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Virtual Machines (part 2)' - iolana


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
virtual machines part 2

Virtual Machines (part 2)

CPS210

Spring 2006

papers
Papers
  • Xen and the Art of Virtualization
    • Paul Barham
  • ReVirt: Enabling Intrusion Analysis through Virtual Machine Logging and Replay
    • George Dunlap
virtualization in the enterprise

X

Virtualization in the enterprise
  • Consolidate under-utilized servers to reduce CapEx and OpEx

X

  • Avoid downtime with VM Relocation
  • Dynamically re-balance workload to guarantee application SLAs

X

  • Enforce security policy
vmware architecture
VMware architecture

Host World

VMM World

Target

App

Target

App

Host

App

VM App

Target OS

Host OS

Virtual Machine

Monitor

VM Driver

Host Machine

simos architecture
SimOS architecture

Target

App

Target

App

Target OS

SimOS

Host

App

Host

App

Host OS

Host Machine

simos memory
SimOS memory

SimOS

SimOS VMemory

SimOS code, data

Target OS

TargOS code, data

Target App

TargApp code, data

Target App

Virtual MMU

SimDisk

Host OS

SimDisk File

Mem File

Host Machine

simos page fault
SimOS page fault

SimOS

SimOS Fault handler

SimOS VMemory

TargOS Fault handler

Target OS

Unmapped addr

Target App

Target App

Virtual MMU

SimDisk

Host OS

SimDisk File

Mem File

Host Machine

generic tlb
Generic TLB
  • Cache of recently used PTEs
  • Small – usually about 64 entries
  • Huge impact on performance

TLB

Physical Address or

TLB Miss or

Access fault

Virtual Address

x86 32 address space
x86_32 Address space

4GB

S

Xen

Kernel

S

3GB

ring 0

ring 1

ring 3

User

U

0GB

vmware guest page tables
VMware Guest Page Tables

Virtual → Machine

Update PTE

Guest OS

Shadow page table

VMM

Hardware

MMU

para virtualizing the mmu
Para-Virtualizing the MMU
  • Guest OSes allocate and manage own PTs
    • “Hypercall” to change PT base
  • Xen must validate PT updates before use
  • Validation rules applied to each PTE:

1. Guest may only map phys. pages it owns

2. PT pages may only be mapped RO

xen guest page tables
Xen guest page tables

Virtual → Machine

Update PTE

Guest OS

1) Validation check

2) Perform update

VMM

Hardware

MMU