Xen Enters Mainline Kernel
Future versions of the Linux Kernel (such as 3.0) will include support for the Xen hypervisor. This means that Linux distributions will typically offer out of the box support for both hosting Xen and running as a guest operating system under Xen.
Xen requires operating system support from both the host and the guest. In other words, you need an operating system that has been modified in order to run Xen or to run under Xen. [Correction: Xen can run unmodified operating systems on a processor that supports x86 virtualisation, which to be fair, should include most modern desktop processors.] In the past, installing Xen (in most distributions) has been a more complicated procedure than for other virtualizers such as VirtualBox.
As it stands, the Linux Kernel offers support for KVM, a virtualization technology that can speed up the QEMU machine emulator. It is the hope of the Xen community that out of the box support for Xen will increase adoption. However, the degree to which built-in kernel support will raise the profile of Xen is debatable. The target of Xen has always been server admins who placed a higher premium on top-flight security and server specific features than they did on ease of use. Anyone who needs the features that distinguish Xen from other solutions would probably not have been dissuaded from using it by the difficult installation. Casual users, who need a simple installation via the package manager on distributions such as Ubuntu, would probably be better served by VirtualBox, QEMU or VMWare.
Who knows, perhaps someone will cook up a virtualization solution aimed at casual desktop users, but that uses Xen as its underlying technology? There might even be some scope for adding other features, such as application sandboxing, by making use of Xen.
The announcement on the Oracle website.
The image that I used in this article, a picture of a zen garden, was taken from the Flicker account of CyboRoZ. I was able to use it here because it of the Creative Commons license that he released the work under.
UK based freelance writer Michael Reed writes about technology, retro computing, geek culture and gender politics.
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- Designing Electronics with Linux
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- New Products
- Build a Skype Server for Your Home Phone System
- Validate an E-Mail Address with PHP, the Right Way
- A Topic for Discussion - Open Source Feature-Richness?
- Why Python?
- Tech Tip: Really Simple HTTP Server with Python
- Great
2 hours 5 min ago - Reply to comment | Linux Journal
2 hours 13 min ago - Understanding the Linux Kernel
4 hours 28 min ago - General
6 hours 57 min ago - Kernel Problem
17 hours 31 sec ago - BASH script to log IPs on public web server
21 hours 27 min ago - DynDNS
1 day 1 hour ago - Reply to comment | Linux Journal
1 day 1 hour ago - All the articles you talked
1 day 3 hours ago - All the articles you talked
1 day 4 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?



Comments
NetBSD
Indeed, NetBSD has had Xen (both Dom0 and DomU) support for a long time.
Corrections and Clarifications
To clarify, Linux 3.0 does not contain the Xen hypervisor, but instead now has full Xen guest and management domain support in the mainline kernel. This clarification is because people already seem to misunderstand the kind of hypervisor that Xen is. It is a stand alone, pure type-1 hypervisor. It doesn't make sense to say that a type 1 hypervisor is included in Linux. Xen the hypversor is a small software layer that runs under traditional operating systems (such as Linux). The hypervisor is not included in Linux like KVM. KVM in contrast is an integrated hypervisor that is technically a type-2 hypervisor that relies on the fact that it runs on Linux. Xen's management domain can be Linux, but it could also be BSD, Solaris, or any other operating system that wanted to add Xen support. (VirtualBox, QEMU, and VMware's workstation-class products are also type-2)
Xen guest support has been in mainline Linux for a long time since 2.6.23 (IIRC). Also there is has been distro support for Xen since the very early days and there still is good distro support via SUSE/OpenSUSE, Debian, CentOS (5.x series which is still in common use), the Xen Cloud Platform (XCP), and other Linux distros.
As Ricardo commented above, Xen can also run unmodified guests, called HVM guests. Virtualization hardware support (e.g. VT-x, AMD-V) is required for these guest (just like KVM requires this support for all of it's guests).
Although it is true that traditionally Xen has had success for server environments, Xen is also being used for client-based solutions as well. For example, Citrix XenClient, Virtual Computer's NxTop, and (as Ricardo mentions) QubesOS.
Further, Xen has already added support for upstream QEMU, which means that using Xen for QEMU (HVM) guests would provide very similar user experiences. Plus, there is support to run paravirtualized (PV) on HVM drivers to improve performance on these HVM guests in Xen's case.
To say that Xen is not a good choice as compared to the other virtualization options on a desktop system is simply not true. It can be used just as well in place of the other virtualization solutions and there are likely use cases where Xen actually works better.
Running "foreign" operating systems
Xen can run unmodified ("foreign") guests just fine since version 3.0.4 (support came earlier but stabilized in that version), provided your CPU supports hardware assisted virtualization.
Also, check out QubesOS (http://qubes-os.org/) for a Xen-based desktop, a really cool project. It's not ready for casual users just yet but it's very promising.
Sorry about that. I've added
Sorry about that. I've added a correction to the article.
QubesOS looks like an interesting project.
UK based freelance writer Michael Reed writes about technology, retro computing, geek culture and gender politics.