Xen virtualization vs. KVM virtualization architecture

Xen virtualization and KVM virtualization architecture differ. If you're considering open source virtualization, this section of our guide explores these virtualization technologies.

This section of our open source virtualization software guide outlines Xen virtualization and Kernel-based Virtual Machine, or KVM Linux virtualization architecture, and the differences between these open source virtualization architectures.

Xen is the oldest open source virtualization technology and has been available for approximately five years. Version 3.0 of Xen features the most central improvement. Virtual machines can start a specific Xen kernel. So too, unmodified operating systems can run their own kernel (such as Windows). The most important advantage of Xen is paravirtualization, a technology that enables virtual machines to run efficiently and without requiring emulation (thus guests are aware of the hypervisor and can run efficiently without emulation or virtual emulated hardware). The most important disadvantage of Xen is that it is a complex product that can be difficult to integrate with the Linux kernel.

The purpose of KVM was to provide a virtualization technology that resides in the Linux kernel itself. KVM is just a single module that you have to load in the Linux kernel. Once the module is loaded, you can create virtual machines. But KVM's virtualization scheme is not yet as advanced as Xen and does not offer features such as paravirtualization. As a result the KVM hypervisor has to emulate instructions that are generated by KVM virtual machines. To gain this functionality, you pay an additional performance price. (For more, check out this face-off on Xen vs. KVM Linux virtualization hypervisors.)

ABOUT THE AUTHOR: Sander van Vugt is an author and independent technical trainer, specializing in Linux since 1994. Vugt is also a technical consultant for high-availability clustering and performance optimization, as well as an expert on SLED 10 administration.

This was first published in January 2010

Dig deeper on Introduction to virtualization and how-tos

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchVMware

SearchWindowsServer

SearchCloudComputing

SearchVirtualDesktop

SearchDataCenter

Close