SlideShare una empresa de Scribd logo
1 de 14
Descargar para leer sin conexión
Mobile	
  Virtualiza/on	
  
using	
  the	
  Xen	
  
Technologies	
  
Jun	
  Nakajima	
  
Intel	
  Corpora9on	
  



Sponsored	
  by:	
  

                       &	
     &	
  
Legal Disclaimer
Ÿ  INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. NO
    LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY
    RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL’S TERMS AND CONDITIONS
    OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS
    ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL® PRODUCTS
    INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE,
    MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL
    PROPERTY RIGHT. INTEL PRODUCTS ARE NOT INTENDED FOR USE IN MEDICAL, LIFE SAVING, OR LIFE
    SUSTAINING APPLICATIONS.
Ÿ  Intel may make changes to specifications and product descriptions at any time, without notice.

Ÿ  All products, dates, and figures specified are preliminary based on current expectations, and are subject to
    change without notice.
Ÿ  Intel, processors, chipsets, and desktop boards may contain design defects or errors known as errata, which
    may cause the product to deviate from published specifications. Current characterized errata are available on
    request.
Ÿ  Intel and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the
    United States and other countries.
Ÿ  *Other names and brands may be claimed as the property of others.

Ÿ  Copyright © 2011 Intel Corporation.




    Xen Summit Asia 2011
                                                           2
Agenda
Ÿ Mobile Virtualization
Ÿ PC/Server vs. Mobile device virtualization
Ÿ Example: Android™ Virtualization

Ÿ Advantages of Xen Technologies and
   Opportunities
Ÿ Xen-Based Android* Architecture
Ÿ Innovation/Research Required for Xen Mobile
   Virtualization
 XenSummit Asia 2011   *: Simply Android for Android™ hereafter
                                    3
What’s Mobile Virtualization?

Ÿ Virtualization of mobile platforms
 –  E.g. Android as a guest on laptop, desktop, cloud…
     –  BlueStacks*, Android Emulator

Ÿ Virtualization on mobile platforms
 –  E.g. Android as the host such as smartphone, tablet
     –  Red Bend*, Mobile Virtual Platform* (VMware*),
        Motorola Atrix 4G*

Ÿ Combination
 –  E.g. Android guest on Android host


 XenSummit Asia 2011
                               4
Why Mobile Virtualization?

Ÿ Many devices and many reasons
 –  Dual personality (business, personal)
 –  Multiple OS (e.g. Android + Windows*)
 –  Security enhancements
     –  “Secure Xen on ARM” (Samsung*)
 –  Reusing existing software stacks

Ÿ Potential drawbacks
 –  Virtualization overhead affecting performance and power,
    higher latency
 –  Extra efforts to rebase, certify
 –  More complex

 XenSummit Asia 2011
                               5
PC/Server vs. Mobile Device
               Virtualization

Ÿ Typical VMMs virtualize PC/servers
 –  No mobile devices support, such as GPS, accelerometer,
    gyroscope, touch screen, telephony, etc.
 –  No skin support.
 –  Qemu has some mobile devices support




 XenSummit Asia 2011
                               6
Example: Android Virtualization

Ÿ Android Emulator in Android SDK
 –  Android-specific modifications to qemu
     –  Framebuffer, sound, tty, serial, MMC, NAND, etc.
 –  Software emulation for ARM and x86
 –  Emulator with hardware-assist (e.g. Intel® VT) for x86
     –  KVM on Linux* today (about 10x faster). Available
        since SDK Tools Revision 12**.
     –  Porting to Xen should be easy
 –  GLES H/W acceleration(via qemu_pipe)

Ÿ Android Guest
 –  Linux (“Goldfish” kernel) + PV devices
                        **: http://developer.android.com/sdk/tools-notes.html
 XenSummit Asia 2011
                                  7
Opportunities for Xen
Ÿ Goldfish kernel
   –  32-bit UP HVM Linux kernel (2.6.29 as of today)
   –  Works well for SDK environment, Save/Restore feature.
   –  Can be very expensive on mobile devices

Ÿ Xen PV
   –  PVOPS kernel: lower virtualization overhead and/or
      eliminate need for hardware-assisted virtualization
   –  No qemu: frontends for mobile devices to avoid
      dependency on qemu

Ÿ Live migration
   –  Example: Between laptop and cloud

XenSummit Asia 2011
                               8
Hypervisor Architecture Considerations
Type 1: Bare metal Hypervisor                                      Type 2: OS ‘Hosted’
A pure Hypervisor that runs directly on                            A Hypervisor that runs within a Host OS
the hardware and hosts Guest OS’s.                                 and hosts Guest OS’s inside of it, using the
                                                                   host OS services to provide the virtual
                                                                   environment.

                                VMn
                                                                                   User-level VMM            VMn
                        VM1
                                                                                                        VM0
                VM0                                                                        Device
                                                                      User                 Models
                                                                      Apps                                 Guest OS
                 Guest OS                                                                                  and Apps
                 and Apps

                                                                      Host OS
                                                 Hypervisor            Device              Ring-0 VM Monitor
Device Drivers / Models                                                Drivers              Kernel

                               Scheduler            MMU

Host HW                                                               Host HW
              Memory        CPUs       I/O                                                   Memory        CPUs         I/O




 XenSummit Asia 2011 isola,on	
  +	
  
    Provides	
  	
  par,,on	
                                          Low	
  cost,	
  no	
  addi,onal	
  drivers	
  
                                                                                                                 	
  
           reliability,	
  higher	
  security	
  
Other names and brands may be claimed as the property of others.
More Opportunities − Architectural
          Advantage of Xen
                                                              Ÿ  Thin hypervisor
                                          VMn                   –  Open source
Domain 0
                                   VM1                          –  Proprietary code in guests
High-level Monitor          VM0
 Device
 Models                      Guest OS
                                                              Ÿ  Use Linux in upstream
                             and Apps
Linux                                                           –  Take full advantage of PV
                                                                –  PV on HVM
       Device Models                    Xen Hypervisor
       (Timer, Interrupt)                                       –  No additional device
                                                                   drivers (Linux 3.x dom0)

                 Memory     CPUs
                                             Host HW          Ÿ  Use hardware assistance
 I/O
                                                                  for unmodified guests
              Hybrid Architecture

  XenSummit Asia 2011
                                                         10
Xen-Based Android w/o HVM

                  Domain 0                                         Domain 1      Domain N




                  Guest Control App


   Host                                                                 Guest      *OS
                     Libxenlingh/Bionic (libc)


           Linux PVOPS Kernel                               Linux PVOPS Kernel
  Native Device          Backend Virtual                      Frontend Virtual
     Drivers                 driver                               Drivers

                                                 Callback / Hypercall

          Xen Hypervisor                                   Event channel

             Physical Host Hardware
XenSummit Asia 2011
                                                      11
Xen-Based Android w/ HVM

                   Domain 0                                   Domain 1                Domain N


                     Device models
                      (qemu-dm)
                                                                                      Device models
                                                                                       (stubdomain)

                   Guest Control App


    Host                                                         Guest                    *OS
                      Libxenlingh/Bionic (libc)


Linux PVOPS Kernel
                          Backend Virtual                    Frontend Virtual
   Native Device
                              drivers                            Drivers
      Drivers
                                                              Virtual Platform
                                             Callback / Hypercall            VMExit

           Xen Hypervisor                                 Event channel

               Physical Host Hardware
XenSummit Asia 2011
                                                     12
Innovation/Research Required for
        Xen Mobile Virtualization

Ÿ Power management
  –  Optimized for mobile devices

Ÿ Realtime
  –  RTOS guests support

Ÿ Security

Ÿ Mobile device virtualization



 XenSummit Asia 2011
                                13
Conclusion

Ÿ Mobile virtualization will be more important

Ÿ Xen has unique advantages there
  –  Thin hypervisor, driving innovations for virtualization
  –  Keeping PVOPS for dom0 in Linux upstream is key

Ÿ Proposed Xen-based Android system

Ÿ Let’s get started!



 XenSummit Asia 2011
                                  14

Más contenido relacionado

La actualidad más candente

ARM Architecture-based System Virtualization: Xen ARM open source software pr...
ARM Architecture-based System Virtualization: Xen ARM open source software pr...ARM Architecture-based System Virtualization: Xen ARM open source software pr...
ARM Architecture-based System Virtualization: Xen ARM open source software pr...
The Linux Foundation
 

La actualidad más candente (20)

ARM Architecture-based System Virtualization: Xen ARM open source software pr...
ARM Architecture-based System Virtualization: Xen ARM open source software pr...ARM Architecture-based System Virtualization: Xen ARM open source software pr...
ARM Architecture-based System Virtualization: Xen ARM open source software pr...
 
Xen io
Xen ioXen io
Xen io
 
XPDS13: HVM Dom0 - Any unmodified OS as Dom0 - Will Auld, Intel
XPDS13: HVM Dom0 - Any unmodified OS as Dom0 - Will Auld, IntelXPDS13: HVM Dom0 - Any unmodified OS as Dom0 - Will Auld, Intel
XPDS13: HVM Dom0 - Any unmodified OS as Dom0 - Will Auld, Intel
 
Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)
 
Link Virtualization based on Xen
Link Virtualization based on XenLink Virtualization based on Xen
Link Virtualization based on Xen
 
Linaro connect : Introduction to Xen on ARM
Linaro connect : Introduction to Xen on ARMLinaro connect : Introduction to Xen on ARM
Linaro connect : Introduction to Xen on ARM
 
Rootlinux17: An introduction to Xen Project Virtualisation
Rootlinux17:  An introduction to Xen Project VirtualisationRootlinux17:  An introduction to Xen Project Virtualisation
Rootlinux17: An introduction to Xen Project Virtualisation
 
XS Boston 2008 Self IO Emulation
XS Boston 2008 Self IO EmulationXS Boston 2008 Self IO Emulation
XS Boston 2008 Self IO Emulation
 
Ian Pratt Usenix 08 Keynote
Ian Pratt Usenix 08 KeynoteIan Pratt Usenix 08 Keynote
Ian Pratt Usenix 08 Keynote
 
XS Boston 2008 Project Status
XS Boston 2008 Project StatusXS Boston 2008 Project Status
XS Boston 2008 Project Status
 
UDS 2012 Xen
UDS 2012 XenUDS 2012 Xen
UDS 2012 Xen
 
Ian Pratt Nsdi Keynote Apr2008
Ian Pratt Nsdi Keynote Apr2008Ian Pratt Nsdi Keynote Apr2008
Ian Pratt Nsdi Keynote Apr2008
 
Hypervisor Framework
Hypervisor FrameworkHypervisor Framework
Hypervisor Framework
 
XPDDS18: LCC18: Xen Project: After 15 years, What's Next? - George Dunlap, C...
XPDDS18: LCC18:  Xen Project: After 15 years, What's Next? - George Dunlap, C...XPDDS18: LCC18:  Xen Project: After 15 years, What's Next? - George Dunlap, C...
XPDDS18: LCC18: Xen Project: After 15 years, What's Next? - George Dunlap, C...
 
XPDS13: Performance Optimization on Xen-based Android Device - Jack Ren, Inte...
XPDS13: Performance Optimization on Xen-based Android Device - Jack Ren, Inte...XPDS13: Performance Optimization on Xen-based Android Device - Jack Ren, Inte...
XPDS13: Performance Optimization on Xen-based Android Device - Jack Ren, Inte...
 
OSSNA18: Xen Beginners Training
OSSNA18: Xen Beginners Training OSSNA18: Xen Beginners Training
OSSNA18: Xen Beginners Training
 
XPDS13: Xen in OSS based In–Vehicle Infotainment Systems - Artem Mygaiev, Glo...
XPDS13: Xen in OSS based In–Vehicle Infotainment Systems - Artem Mygaiev, Glo...XPDS13: Xen in OSS based In–Vehicle Infotainment Systems - Artem Mygaiev, Glo...
XPDS13: Xen in OSS based In–Vehicle Infotainment Systems - Artem Mygaiev, Glo...
 
Hypervisors
HypervisorsHypervisors
Hypervisors
 
Xen Project 15 Years down the Line
Xen Project 15 Years down the LineXen Project 15 Years down the Line
Xen Project 15 Years down the Line
 
Xen RAS Status and Progress
Xen RAS Status and ProgressXen RAS Status and Progress
Xen RAS Status and Progress
 

Destacado

Destacado (12)

Linux PV on HVM
Linux PV on HVMLinux PV on HVM
Linux PV on HVM
 
Xen.org: The past, the present and exciting Future
Xen.org: The past, the present and exciting FutureXen.org: The past, the present and exciting Future
Xen.org: The past, the present and exciting Future
 
Engaging the Xen Developer Comminity
Engaging the Xen Developer ComminityEngaging the Xen Developer Comminity
Engaging the Xen Developer Comminity
 
Skylark: Easy Cloud Computing
Skylark: Easy Cloud ComputingSkylark: Easy Cloud Computing
Skylark: Easy Cloud Computing
 
PV-Drivers for SeaBIOS using Upstream Qemu
PV-Drivers for SeaBIOS using Upstream QemuPV-Drivers for SeaBIOS using Upstream Qemu
PV-Drivers for SeaBIOS using Upstream Qemu
 
Xen in Linux 3.x (or PVOPS)
Xen in Linux 3.x (or PVOPS)Xen in Linux 3.x (or PVOPS)
Xen in Linux 3.x (or PVOPS)
 
Xenalyze: Finding meaning in the chaos
Xenalyze: Finding meaning in the chaosXenalyze: Finding meaning in the chaos
Xenalyze: Finding meaning in the chaos
 
XenSummit NA 2012: Xen on ARM Cortex A15
XenSummit NA 2012: Xen on ARM Cortex A15XenSummit NA 2012: Xen on ARM Cortex A15
XenSummit NA 2012: Xen on ARM Cortex A15
 
XCP Project Update
XCP Project UpdateXCP Project Update
XCP Project Update
 
Hardware accelerated Virtualization in the ARM Cortex™ Processors
Hardware accelerated Virtualization in the ARM Cortex™ ProcessorsHardware accelerated Virtualization in the ARM Cortex™ Processors
Hardware accelerated Virtualization in the ARM Cortex™ Processors
 
Xen @ Google, 2011
Xen @ Google, 2011Xen @ Google, 2011
Xen @ Google, 2011
 
[피키캐스트] 5학년선배 ppt 템플릿 레이아웃
[피키캐스트] 5학년선배 ppt 템플릿 레이아웃[피키캐스트] 5학년선배 ppt 템플릿 레이아웃
[피키캐스트] 5학년선배 ppt 템플릿 레이아웃
 

Similar a Mobile Virtualization using the Xen Technologies

LinuxCon NA 2012: Virtualization in the cloud featuring xen
LinuxCon NA 2012: Virtualization in the cloud featuring xenLinuxCon NA 2012: Virtualization in the cloud featuring xen
LinuxCon NA 2012: Virtualization in the cloud featuring xen
The Linux Foundation
 
Xen Project Update LinuxCon Brazil
Xen Project Update LinuxCon BrazilXen Project Update LinuxCon Brazil
Xen Project Update LinuxCon Brazil
The Linux Foundation
 
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
The Linux Foundation
 
Virtualization Everywhere
Virtualization EverywhereVirtualization Everywhere
Virtualization Everywhere
webhostingguy
 
Walter hofstetter xen client enterprise digicomp
Walter hofstetter xen client enterprise digicompWalter hofstetter xen client enterprise digicomp
Walter hofstetter xen client enterprise digicomp
Digicomp Academy AG
 
Licensing (Enforcement & Compliance) Update
Licensing (Enforcement & Compliance) UpdateLicensing (Enforcement & Compliance) Update
Licensing (Enforcement & Compliance) Update
Flexera
 

Similar a Mobile Virtualization using the Xen Technologies (20)

LinuxCon NA 2012: Virtualization in the cloud featuring xen
LinuxCon NA 2012: Virtualization in the cloud featuring xenLinuxCon NA 2012: Virtualization in the cloud featuring xen
LinuxCon NA 2012: Virtualization in the cloud featuring xen
 
Xen Project Update LinuxCon Brazil
Xen Project Update LinuxCon BrazilXen Project Update LinuxCon Brazil
Xen Project Update LinuxCon Brazil
 
Xen and Client Virtualization: the case of XenClient XT
Xen and Client Virtualization: the case of XenClient XTXen and Client Virtualization: the case of XenClient XT
Xen and Client Virtualization: the case of XenClient XT
 
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCPLinuxcon EU : Virtualization in the Cloud featuring Xen and XCP
Linuxcon EU : Virtualization in the Cloud featuring Xen and XCP
 
Xen Community Update 2011
Xen Community Update 2011Xen Community Update 2011
Xen Community Update 2011
 
Xen 10th anniversary Status Report (at SELF 2013)
Xen 10th anniversary Status Report (at SELF 2013)Xen 10th anniversary Status Report (at SELF 2013)
Xen 10th anniversary Status Report (at SELF 2013)
 
Virtualization in the cloud
Virtualization in the cloudVirtualization in the cloud
Virtualization in the cloud
 
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
Virtualization in the Cloud @ Build a Cloud Day SFO May 2012
 
Virtualization Everywhere
Virtualization EverywhereVirtualization Everywhere
Virtualization Everywhere
 
Virtualization Primer for Java Developers
Virtualization Primer for Java DevelopersVirtualization Primer for Java Developers
Virtualization Primer for Java Developers
 
Usenix Invited Talk
Usenix Invited TalkUsenix Invited Talk
Usenix Invited Talk
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
 
virtual-machine-150316004018-conversion-gate01.pdf
virtual-machine-150316004018-conversion-gate01.pdfvirtual-machine-150316004018-conversion-gate01.pdf
virtual-machine-150316004018-conversion-gate01.pdf
 
Cloud Computing 2023 - Lecture 02.pptx
Cloud Computing 2023 - Lecture 02.pptxCloud Computing 2023 - Lecture 02.pptx
Cloud Computing 2023 - Lecture 02.pptx
 
Ina Pratt Fosdem Feb2008
Ina Pratt Fosdem Feb2008Ina Pratt Fosdem Feb2008
Ina Pratt Fosdem Feb2008
 
Virtualization technolegys for amdocs
Virtualization technolegys for amdocsVirtualization technolegys for amdocs
Virtualization technolegys for amdocs
 
Virtualization basics
Virtualization basics Virtualization basics
Virtualization basics
 
Walter hofstetter xen client enterprise digicomp
Walter hofstetter xen client enterprise digicompWalter hofstetter xen client enterprise digicomp
Walter hofstetter xen client enterprise digicomp
 
Licensing (Enforcement & Compliance) Update
Licensing (Enforcement & Compliance) UpdateLicensing (Enforcement & Compliance) Update
Licensing (Enforcement & Compliance) Update
 
Virtualization Technology Overview
Virtualization Technology OverviewVirtualization Technology Overview
Virtualization Technology Overview
 

Más de The Linux Foundation

Más de The Linux Foundation (20)

ELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made SimpleELC2019: Static Partitioning Made Simple
ELC2019: Static Partitioning Made Simple
 
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
XPDDS19: How TrenchBoot is Enabling Measured Launch for Open-Source Platform ...
 
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
XPDDS19 Keynote: Xen in Automotive - Artem Mygaiev, Director, Technology Solu...
 
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
XPDDS19 Keynote: Xen Project Weather Report 2019 - Lars Kurth, Director of Op...
 
XPDDS19 Keynote: Unikraft Weather Report
XPDDS19 Keynote:  Unikraft Weather ReportXPDDS19 Keynote:  Unikraft Weather Report
XPDDS19 Keynote: Unikraft Weather Report
 
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
XPDDS19 Keynote: Secret-free Hypervisor: Now and Future - Wei Liu, Software E...
 
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, XilinxXPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
XPDDS19 Keynote: Xen Dom0-less - Stefano Stabellini, Principal Engineer, Xilinx
 
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
XPDDS19 Keynote: Patch Review for Non-maintainers - George Dunlap, Citrix Sys...
 
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
XPDDS19: Memories of a VM Funk - Mihai Donțu, BitdefenderXPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
XPDDS19: Memories of a VM Funk - Mihai Donțu, Bitdefender
 
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...OSSJP/ALS19:  The Road to Safety Certification: Overcoming Community Challeng...
OSSJP/ALS19: The Road to Safety Certification: Overcoming Community Challeng...
 
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
 OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making... OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
OSSJP/ALS19: The Road to Safety Certification: How the Xen Project is Making...
 
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, CitrixXPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
XPDDS19: Speculative Sidechannels and Mitigations - Andrew Cooper, Citrix
 
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltdXPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
XPDDS19: Keeping Coherency on Arm: Reborn - Julien Grall, Arm ltd
 
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
XPDDS19: QEMU PV Backend 'qdevification'... What Does it Mean? - Paul Durrant...
 
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&DXPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
XPDDS19: Status of PCI Emulation in Xen - Roger Pau Monné, Citrix Systems R&D
 
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM SystemsXPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
XPDDS19: [ARM] OP-TEE Mediator in Xen - Volodymyr Babchuk, EPAM Systems
 
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
XPDDS19: Bringing Xen to the Masses: The Story of Building a Community-driven...
 
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
XPDDS19: Will Robots Automate Your Job Away? Streamlining Xen Project Contrib...
 
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
XPDDS19: Client Virtualization Toolstack in Go - Nick Rosbrook & Brendan Kerr...
 
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSEXPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
XPDDS19: Core Scheduling in Xen - Jürgen Groß, SUSE
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Mobile Virtualization using the Xen Technologies

  • 1. Mobile  Virtualiza/on   using  the  Xen   Technologies   Jun  Nakajima   Intel  Corpora9on   Sponsored  by:   &   &  
  • 2. Legal Disclaimer Ÿ  INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL® PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER, AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL® PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. INTEL PRODUCTS ARE NOT INTENDED FOR USE IN MEDICAL, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS. Ÿ  Intel may make changes to specifications and product descriptions at any time, without notice. Ÿ  All products, dates, and figures specified are preliminary based on current expectations, and are subject to change without notice. Ÿ  Intel, processors, chipsets, and desktop boards may contain design defects or errors known as errata, which may cause the product to deviate from published specifications. Current characterized errata are available on request. Ÿ  Intel and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. Ÿ  *Other names and brands may be claimed as the property of others. Ÿ  Copyright © 2011 Intel Corporation. Xen Summit Asia 2011 2
  • 3. Agenda Ÿ Mobile Virtualization Ÿ PC/Server vs. Mobile device virtualization Ÿ Example: Android™ Virtualization Ÿ Advantages of Xen Technologies and Opportunities Ÿ Xen-Based Android* Architecture Ÿ Innovation/Research Required for Xen Mobile Virtualization XenSummit Asia 2011 *: Simply Android for Android™ hereafter 3
  • 4. What’s Mobile Virtualization? Ÿ Virtualization of mobile platforms –  E.g. Android as a guest on laptop, desktop, cloud… –  BlueStacks*, Android Emulator Ÿ Virtualization on mobile platforms –  E.g. Android as the host such as smartphone, tablet –  Red Bend*, Mobile Virtual Platform* (VMware*), Motorola Atrix 4G* Ÿ Combination –  E.g. Android guest on Android host XenSummit Asia 2011 4
  • 5. Why Mobile Virtualization? Ÿ Many devices and many reasons –  Dual personality (business, personal) –  Multiple OS (e.g. Android + Windows*) –  Security enhancements –  “Secure Xen on ARM” (Samsung*) –  Reusing existing software stacks Ÿ Potential drawbacks –  Virtualization overhead affecting performance and power, higher latency –  Extra efforts to rebase, certify –  More complex XenSummit Asia 2011 5
  • 6. PC/Server vs. Mobile Device Virtualization Ÿ Typical VMMs virtualize PC/servers –  No mobile devices support, such as GPS, accelerometer, gyroscope, touch screen, telephony, etc. –  No skin support. –  Qemu has some mobile devices support XenSummit Asia 2011 6
  • 7. Example: Android Virtualization Ÿ Android Emulator in Android SDK –  Android-specific modifications to qemu –  Framebuffer, sound, tty, serial, MMC, NAND, etc. –  Software emulation for ARM and x86 –  Emulator with hardware-assist (e.g. Intel® VT) for x86 –  KVM on Linux* today (about 10x faster). Available since SDK Tools Revision 12**. –  Porting to Xen should be easy –  GLES H/W acceleration(via qemu_pipe) Ÿ Android Guest –  Linux (“Goldfish” kernel) + PV devices **: http://developer.android.com/sdk/tools-notes.html XenSummit Asia 2011 7
  • 8. Opportunities for Xen Ÿ Goldfish kernel –  32-bit UP HVM Linux kernel (2.6.29 as of today) –  Works well for SDK environment, Save/Restore feature. –  Can be very expensive on mobile devices Ÿ Xen PV –  PVOPS kernel: lower virtualization overhead and/or eliminate need for hardware-assisted virtualization –  No qemu: frontends for mobile devices to avoid dependency on qemu Ÿ Live migration –  Example: Between laptop and cloud XenSummit Asia 2011 8
  • 9. Hypervisor Architecture Considerations Type 1: Bare metal Hypervisor Type 2: OS ‘Hosted’ A pure Hypervisor that runs directly on A Hypervisor that runs within a Host OS the hardware and hosts Guest OS’s. and hosts Guest OS’s inside of it, using the host OS services to provide the virtual environment. VMn User-level VMM VMn VM1 VM0 VM0 Device User Models Apps Guest OS Guest OS and Apps and Apps Host OS Hypervisor Device Ring-0 VM Monitor Device Drivers / Models Drivers Kernel Scheduler MMU Host HW Host HW Memory CPUs I/O Memory CPUs I/O XenSummit Asia 2011 isola,on  +   Provides    par,,on   Low  cost,  no  addi,onal  drivers     reliability,  higher  security   Other names and brands may be claimed as the property of others.
  • 10. More Opportunities − Architectural Advantage of Xen Ÿ  Thin hypervisor VMn –  Open source Domain 0 VM1 –  Proprietary code in guests High-level Monitor VM0 Device Models Guest OS Ÿ  Use Linux in upstream and Apps Linux –  Take full advantage of PV –  PV on HVM Device Models Xen Hypervisor (Timer, Interrupt) –  No additional device drivers (Linux 3.x dom0) Memory CPUs Host HW Ÿ  Use hardware assistance I/O for unmodified guests Hybrid Architecture XenSummit Asia 2011 10
  • 11. Xen-Based Android w/o HVM Domain 0 Domain 1 Domain N Guest Control App Host Guest *OS Libxenlingh/Bionic (libc) Linux PVOPS Kernel Linux PVOPS Kernel Native Device Backend Virtual Frontend Virtual Drivers driver Drivers Callback / Hypercall Xen Hypervisor Event channel Physical Host Hardware XenSummit Asia 2011 11
  • 12. Xen-Based Android w/ HVM Domain 0 Domain 1 Domain N Device models (qemu-dm) Device models (stubdomain) Guest Control App Host Guest *OS Libxenlingh/Bionic (libc) Linux PVOPS Kernel Backend Virtual Frontend Virtual Native Device drivers Drivers Drivers Virtual Platform Callback / Hypercall VMExit Xen Hypervisor Event channel Physical Host Hardware XenSummit Asia 2011 12
  • 13. Innovation/Research Required for Xen Mobile Virtualization Ÿ Power management –  Optimized for mobile devices Ÿ Realtime –  RTOS guests support Ÿ Security Ÿ Mobile device virtualization XenSummit Asia 2011 13
  • 14. Conclusion Ÿ Mobile virtualization will be more important Ÿ Xen has unique advantages there –  Thin hypervisor, driving innovations for virtualization –  Keeping PVOPS for dom0 in Linux upstream is key Ÿ Proposed Xen-based Android system Ÿ Let’s get started! XenSummit Asia 2011 14