1 / 9

What is Virtualization ?

What is Virtualization ?. Fully Utilizing Hardware. Virtualization. etc. Sharing Hardware Resource. Running Applications (x-platform). Security. Virtual Machine !. Why Virtualization is Difficult ? (1/2). 0/1/3 Ring, e.g. x86_32. OS is moved to ring1/3 On x86 Some instructions

danton
Download Presentation

What is Virtualization ?

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. What is Virtualization ? Fully Utilizing Hardware Virtualization etc Sharing Hardware Resource Running Applications (x-platform) Security Virtual Machine ! /45

  2. Why Virtualization is Difficult ? (1/2) 0/1/3 Ring, e.g. x86_32 • OS is moved to ring1/3 • On x86 • Some instructions • Sensitive Instructions • Cannot be trapped OS 0/3/3 Ring, e.g. x86_64, ARM OS

  3. Why Virtualization is Difficult ? (2/2) - Examples SGDT, SIDT and SLDT SGDT m // save gdtr to memory SIDT m // save idtr to memory SLDT r/m16 // save ldtr to memory Only one gdtr, idtr and ldtr on a cpu ! POP POP ss // need to satisfy RPL=CPL=DPL CPL changes to 1 or 3 !

  4. How to Virtualize ? (1/2) • Binary translation • Hypercall Full Virtualization Para Virtualization Hardware Assisted Virtualization Intel VT-x & AMD SVM

  5. How to Virtualize ? (2/2) Type I • Hypervisor (VMM) Type • Type I + Microkernel • Xen (open source, citrix), • Microsoft Hyper-V • Type I + Integrated kernel • VMware ESX, • KVM (kernel-base VM) • Type II (Host OS + Guest OS) • VMware GSX, workstation, • Microsoft virtual PC, • Microsoft virtual server, • Sun Virtual Box Type II

  6. Xen Architecture (1/2)

  7. Xen Architecture (2/2) • Compare to common Linux

  8. KVM Architecture

More Related