SlideShare ist ein Scribd-Unternehmen logo
1 von 12
LINUX Virtualization

Running other code under LINUX
surajsuraj
Environment Virtualization
Citrix/MetaFrame – Virtual desktop under Windows NT. aka Windows Remote Desktop
Protocol
VNC, Dameware – virtual console.
XWindows – virtual console
Mac OS RDP – same as Windows.
WUBI.EXE
Hardware Emulation
IBM – Virtual Machine (VM) OS
Also using code:
Processor virtualization
Instruction set virtualization.
Slow. Usually requires OS (re-)installation
Examples: KVM (uses QEMU), Solaris Domains, DOSBox, DOSEmu, WINE
Processor Virtualization
• “Native” or full virtualization: virtual machine that mediates between the guest
operating systems and the native hardware. Certain protected instructions must be
trapped and handled within the hypervisor because the underlying hardware isn't
owned by an operating system but is instead shared by it through the hypervisor.
• This form usually requires specially virtualization CPU processors (Intel, AMD) for
performance. The only constraint is that the operating system must support the
underlying hardware. Close to hardware-level performance.
• The biggest advantage of full virtualization is that a guest OS can run unmodified. OS
is usually “ported” to the hypervisor machine.
• Examples: VMWare.
Processor Virtualization
Paravirtualization: uses a hypervisor for shared access to the underlying hardware but
integrates virtualization-aware code into the operating system itself. Obviates the need for
any recompilation or trapping because the operating systems themselves cooperate in the
virtualization process.
Also requires specialized CPU hardware but not to the same level as “native” virtualization.
Close to “native” performance.
Guest OS is (re-)installed to run virtualized.
Examples: LINUX Xen, User Mode LINUX (UML), Microsoft Virtual PC.
OS Level Virtualization
• OS Level Virtualization: Virtualizes servers on top of the operating system itself -
uses a single operating system and simply isolates the independent virtual servers
from one another (code, memory, filesystems).
• Doesn’t use special virtualization hardware
• Uses a lot of underlying OS resources – memory, filesystem space.
• Original concept – BSD “chroot jail”
• Examples: LINUX: lxc “containers”. Solaris “Zones”
Hardware support for virtualization
• IA-32 (Intel x86) supports four rings of protection, where level 0 (the highest privilege) typically
runs the operating system, levels 1 and 2 support operating system services, and level 3 (the
lowest level) supports applications.
• In IA-32 (x86) architecture certain privileged-mode instructions do not trap, and can return
different results based upon the mode. This is problematic when attempting to virtualize different
operating systems at different levels.
• Hardware vendors have recognized this shortcoming (and others), and have produced new
designs that support and accelerate virtualization. Intel’s new virtualization technology supports
hypervisors for both the x86 32-bit (VT-x) and Itanium® (VT-I) 64-bit architectures. The VT-x
supports two new forms of operation, one for the VMM (root) and one for guest operating
systems (non-root). The root form is fully privileged, while the non-root form is deprivileged
(even for ring 0).
• AMD is producing hardware-assisted virtualization technology, under the name Pacifica which
Pacifica maintains a control block for guest operating systems that are saved on execution of
special instructions. This allows a virtual machine (and its associated guest operating system) to
run until the VMM regains control. Pacifica also amends address translation with host and guest
memory management unit (MMU) tables.
• These hardware virtualization can be used by a number of virtualization techniques, including
Xen, VMware, User-mode Linux, and others.
Virtualization Products
•
Bochs and QEMU are PC emulators that allow operating systems such as Windows or Linux
to be run in the user-space of a Linux operating system.
• VMware is a popular commercial full-virtualization solution that can virtualize unmodified
operating systems.
• Xen is an open source paravirtualization solution that requires modifications to the guest
operating systems but achieves near native performance by collaborating with the hypervisor.
• Microsoft Virtual PC is a paravirtualization virtual machine approach.
• User-mode Linux (UML) is another paravirtualization solution that is open source. Each guest
operating system executes as a process of the host operating system.
Virtualization Products
coLinux, or Cooperative Linux, is a virtualization solution that allows two operating systems to
cooperatively share the underlying hardware.
Linux-Vserver is an operating system-level virtualization solution for GNU/Linux systems with
secure isolation of independent guest servers.
The Linux KVM is virtualization technology that has been integrated into the mainline Linux
kernel (not KVM kernel, but does require PAE support). Runs as a single kernel loadable module,
a Linux kernel running on virtualization-capable hardware is able to act as a hypervisor and
support unmodified Linux and Windows guest operating systems.
Conclusion

Trends such as user mobility, server virtualization,
IT-as-a-Service, and the need rapidly to respond to
changing business conditions place significant
demands on the network—demands that today’s
conventional network architectures can’t handle.

Software-Defined Networking provides a new,
dynamic network architecture that transforms
traditional network backbones into rich service-
delivery platforms.

The future of networking will rely more on SDN
and the way its becoming the new norm for

Open Networking Foundation.
– https://www.opennetworking.org

Open Networking Summit.
– http://opennetsummit.org

ACM SIGCOMM Hot- SDN‐ workshop
– 2012 papers And videos available, 2013 program poste
References
THANK YOU

Weitere ähnliche Inhalte

Was ist angesagt?

What is Virtualization
What is VirtualizationWhat is Virtualization
What is Virtualization
Israel Marcus
 

Was ist angesagt? (20)

Virtualization
VirtualizationVirtualization
Virtualization
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Virtualization concept slideshare
Virtualization concept slideshareVirtualization concept slideshare
Virtualization concept slideshare
 
Virtualization in cloud computing
Virtualization in cloud computingVirtualization in cloud computing
Virtualization in cloud computing
 
Cloud Computing: Virtualization
Cloud Computing: VirtualizationCloud Computing: Virtualization
Cloud Computing: Virtualization
 
Virtualization 2.0: The Next Generation of Virtualization
Virtualization 2.0: The Next Generation of VirtualizationVirtualization 2.0: The Next Generation of Virtualization
Virtualization 2.0: The Next Generation of Virtualization
 
What is Virtualization
What is VirtualizationWhat is Virtualization
What is Virtualization
 
Virtualization & cloud computing
Virtualization & cloud computingVirtualization & cloud computing
Virtualization & cloud computing
 
Virtualization, A Concept Implementation of Cloud
Virtualization, A Concept Implementation of CloudVirtualization, A Concept Implementation of Cloud
Virtualization, A Concept Implementation of Cloud
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Virtualization and how it leads to cloud
Virtualization and how it leads to cloudVirtualization and how it leads to cloud
Virtualization and how it leads to cloud
 
What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...
 
Virtulization submission
Virtulization submissionVirtulization submission
Virtulization submission
 
Cloud computing using virtualization (Virtual Data Center)
Cloud computing using virtualization (Virtual Data Center)Cloud computing using virtualization (Virtual Data Center)
Cloud computing using virtualization (Virtual Data Center)
 
Virtualization and its Types
Virtualization and its TypesVirtualization and its Types
Virtualization and its Types
 
Microsoft Virtualization View
Microsoft Virtualization View Microsoft Virtualization View
Microsoft Virtualization View
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Lecture5 virtualization
Lecture5 virtualizationLecture5 virtualization
Lecture5 virtualization
 
Platform virtualization.raj
Platform virtualization.rajPlatform virtualization.raj
Platform virtualization.raj
 
What is Virtualization
What is VirtualizationWhat is Virtualization
What is Virtualization
 

Ähnlich wie Linux virtualization

SYSAD323 Virtualization Basics
SYSAD323 Virtualization BasicsSYSAD323 Virtualization Basics
SYSAD323 Virtualization Basics
Don Bosco BSIT
 
Virtualization Everywhere
Virtualization EverywhereVirtualization Everywhere
Virtualization Everywhere
webhostingguy
 
virtualization and hypervisors
virtualization and hypervisorsvirtualization and hypervisors
virtualization and hypervisors
Gaurav Suri
 
Xen Project Update LinuxCon Brazil
Xen Project Update LinuxCon BrazilXen Project Update LinuxCon Brazil
Xen Project Update LinuxCon Brazil
The Linux Foundation
 

Ähnlich wie Linux virtualization (20)

SYSAD323 Virtualization Basics
SYSAD323 Virtualization BasicsSYSAD323 Virtualization Basics
SYSAD323 Virtualization Basics
 
Open source hypervisors in cloud
Open source hypervisors in cloudOpen source hypervisors in cloud
Open source hypervisors in cloud
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to Virtualization
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
 
Virtualization with KVM
Virtualization with KVMVirtualization with KVM
Virtualization with KVM
 
Linux container & docker
Linux container & dockerLinux container & docker
Linux container & docker
 
Virtual Machine
Virtual MachineVirtual Machine
Virtual Machine
 
open source virtualization
open source virtualizationopen source virtualization
open source virtualization
 
Disco: Running Commodity Operating Systems on Scalable Multiprocessors Disco
Disco: Running Commodity Operating Systems on Scalable Multiprocessors DiscoDisco: Running Commodity Operating Systems on Scalable Multiprocessors Disco
Disco: Running Commodity Operating Systems on Scalable Multiprocessors Disco
 
Unikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOSUnikernels: the rise of the library hypervisor in MirageOS
Unikernels: the rise of the library hypervisor in MirageOS
 
Virtualization Everywhere
Virtualization EverywhereVirtualization Everywhere
Virtualization Everywhere
 
Unit II.ppt
Unit II.pptUnit II.ppt
Unit II.ppt
 
Unikernels: Rise of the Library Hypervisor
Unikernels: Rise of the Library HypervisorUnikernels: Rise of the Library Hypervisor
Unikernels: Rise of the Library Hypervisor
 
virtualization and hypervisors
virtualization and hypervisorsvirtualization and hypervisors
virtualization and hypervisors
 
Bridging the Semantic Gap in Virtualized Environment
Bridging the Semantic Gap in Virtualized EnvironmentBridging the Semantic Gap in Virtualized Environment
Bridging the Semantic Gap in Virtualized Environment
 
Xen Project Update LinuxCon Brazil
Xen Project Update LinuxCon BrazilXen Project Update LinuxCon Brazil
Xen Project Update LinuxCon Brazil
 
OpenVZ Linux Containers
OpenVZ Linux ContainersOpenVZ Linux Containers
OpenVZ Linux Containers
 
Cloud Computing Virtualization and containers
Cloud Computing Virtualization and containersCloud Computing Virtualization and containers
Cloud Computing Virtualization and containers
 
Virtualizaiton-3.pptx
Virtualizaiton-3.pptxVirtualizaiton-3.pptx
Virtualizaiton-3.pptx
 
Live VM Migration
Live VM MigrationLive VM Migration
Live VM Migration
 

Kürzlich hochgeladen

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
Tonystark477637
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Kürzlich hochgeladen (20)

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 

Linux virtualization

  • 1. LINUX Virtualization  Running other code under LINUX surajsuraj
  • 2. Environment Virtualization Citrix/MetaFrame – Virtual desktop under Windows NT. aka Windows Remote Desktop Protocol VNC, Dameware – virtual console. XWindows – virtual console Mac OS RDP – same as Windows. WUBI.EXE
  • 3. Hardware Emulation IBM – Virtual Machine (VM) OS Also using code: Processor virtualization Instruction set virtualization. Slow. Usually requires OS (re-)installation Examples: KVM (uses QEMU), Solaris Domains, DOSBox, DOSEmu, WINE
  • 4. Processor Virtualization • “Native” or full virtualization: virtual machine that mediates between the guest operating systems and the native hardware. Certain protected instructions must be trapped and handled within the hypervisor because the underlying hardware isn't owned by an operating system but is instead shared by it through the hypervisor. • This form usually requires specially virtualization CPU processors (Intel, AMD) for performance. The only constraint is that the operating system must support the underlying hardware. Close to hardware-level performance. • The biggest advantage of full virtualization is that a guest OS can run unmodified. OS is usually “ported” to the hypervisor machine. • Examples: VMWare.
  • 5. Processor Virtualization Paravirtualization: uses a hypervisor for shared access to the underlying hardware but integrates virtualization-aware code into the operating system itself. Obviates the need for any recompilation or trapping because the operating systems themselves cooperate in the virtualization process. Also requires specialized CPU hardware but not to the same level as “native” virtualization. Close to “native” performance. Guest OS is (re-)installed to run virtualized. Examples: LINUX Xen, User Mode LINUX (UML), Microsoft Virtual PC.
  • 6. OS Level Virtualization • OS Level Virtualization: Virtualizes servers on top of the operating system itself - uses a single operating system and simply isolates the independent virtual servers from one another (code, memory, filesystems). • Doesn’t use special virtualization hardware • Uses a lot of underlying OS resources – memory, filesystem space. • Original concept – BSD “chroot jail” • Examples: LINUX: lxc “containers”. Solaris “Zones”
  • 7. Hardware support for virtualization • IA-32 (Intel x86) supports four rings of protection, where level 0 (the highest privilege) typically runs the operating system, levels 1 and 2 support operating system services, and level 3 (the lowest level) supports applications. • In IA-32 (x86) architecture certain privileged-mode instructions do not trap, and can return different results based upon the mode. This is problematic when attempting to virtualize different operating systems at different levels. • Hardware vendors have recognized this shortcoming (and others), and have produced new designs that support and accelerate virtualization. Intel’s new virtualization technology supports hypervisors for both the x86 32-bit (VT-x) and Itanium® (VT-I) 64-bit architectures. The VT-x supports two new forms of operation, one for the VMM (root) and one for guest operating systems (non-root). The root form is fully privileged, while the non-root form is deprivileged (even for ring 0). • AMD is producing hardware-assisted virtualization technology, under the name Pacifica which Pacifica maintains a control block for guest operating systems that are saved on execution of special instructions. This allows a virtual machine (and its associated guest operating system) to run until the VMM regains control. Pacifica also amends address translation with host and guest memory management unit (MMU) tables. • These hardware virtualization can be used by a number of virtualization techniques, including Xen, VMware, User-mode Linux, and others.
  • 8. Virtualization Products • Bochs and QEMU are PC emulators that allow operating systems such as Windows or Linux to be run in the user-space of a Linux operating system. • VMware is a popular commercial full-virtualization solution that can virtualize unmodified operating systems. • Xen is an open source paravirtualization solution that requires modifications to the guest operating systems but achieves near native performance by collaborating with the hypervisor. • Microsoft Virtual PC is a paravirtualization virtual machine approach. • User-mode Linux (UML) is another paravirtualization solution that is open source. Each guest operating system executes as a process of the host operating system.
  • 9. Virtualization Products coLinux, or Cooperative Linux, is a virtualization solution that allows two operating systems to cooperatively share the underlying hardware. Linux-Vserver is an operating system-level virtualization solution for GNU/Linux systems with secure isolation of independent guest servers. The Linux KVM is virtualization technology that has been integrated into the mainline Linux kernel (not KVM kernel, but does require PAE support). Runs as a single kernel loadable module, a Linux kernel running on virtualization-capable hardware is able to act as a hypervisor and support unmodified Linux and Windows guest operating systems.
  • 10. Conclusion  Trends such as user mobility, server virtualization, IT-as-a-Service, and the need rapidly to respond to changing business conditions place significant demands on the network—demands that today’s conventional network architectures can’t handle.  Software-Defined Networking provides a new, dynamic network architecture that transforms traditional network backbones into rich service- delivery platforms.  The future of networking will rely more on SDN and the way its becoming the new norm for
  • 11.  Open Networking Foundation. – https://www.opennetworking.org  Open Networking Summit. – http://opennetsummit.org  ACM SIGCOMM Hot- SDN‐ workshop – 2012 papers And videos available, 2013 program poste References