Linux Gains Two New Virtualization Solutions
An anonymous reader writes "The upcoming 2.6.23 kernel has gained two new virtualization solutions. According to KernelTrap, both Xen and lguest have been merged into the mainline kernel. These two virtualization solutions join the already merged KVM, offering Linux multiple ways to run multiple virtual machines each running their own OS."
just asking...
erm.......why?
Wouldn't it be enough with one? Or maybe they could have merged all the features into one VM.
I think this will confuse users. Choice is good, yes, but 3 VMs in the kernel? Sounds like overkill.
More importantly, lguest apparently does not require a CPU with virtualization technology. This is exciting news for those of us running on older hardware.
As a cross-platform developer, I'm interested in installing Windows on a virtual machine instead of dual-booting, and the current virtualization technologies don't cut it for me; VMware player is proprietary and doesn't work with my wireless card, QEMU is just too darn slow, and everything else requires a VT CPU. I'm looking forward to trying out lguest.
What are the pro's for heaving two implementations of, seemingly, the same solution?
If you mod this up, your slashdot background will turn into a beautiful sunset!
Wow, there are now three VM solutions built right into the kernel? What are they going to do next? Merge emacs?
...will it run Linux?
It's full featured doesn't require CPU VT support and is widely used (ie: tested).
Is the linux kernel community going through a NIH stage?
...why should virtualization technology be incorporated into the kernel, and not kept outside, as a "3rd" party app? Shouldn't the kernel be essentially a library and some low level support (multi-tasking, handle certain interrupts, that sort of stuff)? I've never really even considered bash, or even ls as part of the kernel. Am I just really mistaken, or is the word kernel used more broadly than that?
"You will do foolish things, but do them with enthusiasm." - S. G. Colette
I don't have any idea what you mean by "VMWare Player doesn't work with my wireless card". VMWare doesn't know ANYTHING about your underlying networking hardware. All it uses is the IP stack.
You do realise microsoft claims patent infringements about linux all the time, and as such, even running linux without any virtualisation software would be illegal in microsoft's eyes.
... on the desktop? I only have Ubuntu installed and I don't see why a VM is such a massive feature these days? Have I missed something amazing that I can do on these or is it simply for a cool "hey I can run a desktop on a desktop!"
I understand that application compatibility is a big deal but Linux has a zillion apps already.
I just don't get all the marketing surrounding it.
Please review Robert Frost: "The Road Not Taken".
Help stamp out iliturcy.
Does it run on linux?
Does it run on linux?
Why should it be the job of a particular kernel or it's VM component to satisfy specific requirements of a specific version of another kernel (the Vista kernel?). Besides, how exactly did these developers get access to the Vista kernel specs? Should it not be the other way round - i.e. for closed-source Vista to be compatible and optimised for the open-source Linux kernel?
That Linus chose the GPL as a matter of convenience was well known, his antipathy to the FSF is also well chronicled; but this aligning to the interests of specific closed-source kernels from Microsoft is a dangerous new development.
If you keep throwing chairs, one day you'll break windows....
So do any of these solutions support 3D graphics (nvidia) hardware?
The only reason I currently have a windows partition at all is for gaming.
Being able to run Windows 3D games in a VM would allow me to move to a Linux-only box and also give me a nice way of:
* managing the way windows keeps grabbing diskspace
* remove the need to go through reinstalling/reactivating windows every 6 months or so
* limiting the damage Windows virusses can do
* limiting all the phone-home comms with Microsoft that windows keeps doing
You do realize slashdotties claim all sorts of stupidity all the time, and as such, it's a crime the way some gullible chumps think it means something.
My kids want a new computer to play some of their games on. But my wife and I need a new computer as well. However, our computing needs are quite minor. We mainly browse the Web, and send email. To keep our data safe, we only use Linux. But I also do some Mozilla development which often touches a number of source files, leading to fairly hefty spurts of C++ compilation. So I still need a powerful system, but only for several minutes now and then.
Using this virtualization technology, would it be possible to simultaneously run Windows XP and Linux on the same system, and offer maximal performance for each? Namely, would Windows XP still be able to have sufficient access to the actual video hardware for gaming purposes?
I would like just to mention User Mode Linux (http://user-mode-linux.sourceforge.net/), that was included in the kernel mainstream a lot of time ago (much before KVM, I remember).
Each of Xen, KVM, lguest, and UML can be considered virtualization products but they are all vastly different. Below I describe each of these products in relation to their inclusion to the Linux kernel.
Xen - the Linux kernel supports code allowing it to be run as a guest underneath the Xen kernel, all through software. Linux's support for Xen does not make Linux a virtualization platform, only a GUEST for the Xen kernel which sits at Ring-0. (though a "dom0" Linux system can interact intimately with the Xen kernel, it actually sits at Ring-1). I should note that the Xen kernel also supports hardware virtualized domains, though this is unrelated to the patches to Linux.
KVM - the Linux kernel supports virtualization of guests through hardware extensions, this requires supported hardware. Linux becomes the Ring-0 kernel.
lguest - (my understanding is) an unmodified Linux kernel can act as a hyper-supervisor through loading Linux kernels as modules. Linux sits as both Ring-0 (supervisor) and Ring-1 (guests). This is experimental with limited features and only supports Linux guests.
UML - the Linux kernel becomes a userspace program. This allows Linux to run as an executable application/program. With UML, Linux can be compiled for a Linux or Microsoft Windows target. The executing OS sits at Ring-0 and the UML program sits at Ring-1. This has the advantage of requiring no modifications to the host OS and is very portable (you could email an entire Linux system to a friend without requiring anything installed to their system), but the disadvantage of poor performance.
From a high-level, the products UML, Xen, and lguest are actually very similar in function. They act as architectures to which Linux can be compiled in order to make it a guest OS of another Ring-0 kernel. These architectures provide the targets of a kernel module (lguest), a userspace program (UML), or a xen-domU guest (Xen). On the other hand, KML is the only patch that is intended to add support to Linux to act as a Ring-0 kernel on behalf of guest systems -- and even then, KML can be viewed more as a hardware driver for the processor extensions.
But will it run on... nevermind!
The game.
Breach of software license? Possibly... if I recall correctly, the EULA for Vista forbids running in a virtualised environment. I believe it is perfectly legitimate to run XP this way as long as the license key has been purchased legally and is not currently in use in another installation (obviously with the exception of multi-user licenses). For other versions of Windows, it depends on the EULA but I think Vista is the only one to forbid it.
I think all the xen users out there will agree with me when i say "yes!!!!!!!!!!!". I'm actually quite impressed, given what is involved in maintaining xen in the kernel, that this happened as soon as it did.
At least the Enterprise and Ultimate editions are okay per the EULA to run in a virtualized environment, but I'm not sure about the rest. I faintly recall Microsoft being opposed to using the same copy of the cheaper editions as both the host and the guest OS. It is possible that it is legal to run a separately purchased copy as a guest in a virtual machine.
IANAL though, and I don't have Vista, so I cannot check its EULA.
That was a perfectly legitimate question (and one that I'd have asked, too). Right now, most people install VMWare to run Windows on their Linux hosts. I'd be quite pleased to be able to run it using standard, Free, built-in functionality.
Dewey, what part of this looks like authorities should be involved?
Three choices, but none of them gives the optimal solution, which is unmodified guest OSs on processors lacking specific hardware support.
This is apparently hard or impossible on many i386 processors due to the difficulty of intercepting certain instructions. But since Linux updates the processor microcode at boot time, would it be possible to modify the processor microcode to change the way the offending instructions operate ?
(just invalidating them would proably be enough)
I've slowed worked Linux into everything else I do on a computer, now just let me never have to switch out of it and I'll be set.
i'm in ur kernel
wasting ur ram
It's not a bus or port or other connection type, it designates a drive type.
:-(
IDE = Integrated Drive Electronics = smart drives (as opposed to dumb drives needing controller chips on the motherboard end of the cable) = everything since the early Winchesters and whatnot. So it's been a fairly meaningless term for some time now...
Then when SATA arrived some bright bulb equated (Parallel) "ATA" with "IDE" and we still suffer from the confusion
I keep an old PII clunker kicking around to run Galactic Civilizations V2.5, an OS/2-only game. I'd really like to get rid of it, but keep OS/2 for the game. With QEMU and Virtualbox, I've occasionally managed to "install OS/2" but the VM crashes when trying to do much more than merely bring up the OS/2 desktop. I'd be interested in any working solutions. TIA.
I'm not repeating myself
I'm an X window user; I'm an ex-Windows user
Anyone attempting to compile a full Linux kernel with every conceivable feature that doesn't clash with another turned on, non-moduluar, will be able to measure the build time in months...
:-)
Unless they're running a virtualized cluster of machines!
+++OK ATH
In any definition it is more legal than the way most people run Windows to begin with.
I've got a couple VMWare VMs on my laptop. I'm running Windows XP (boo hiss, I know...).
The first is Linux system, Ubuntu, for running tools that aren't available for Windows and web site testing. Technically the OSS DBs, PHP, and Apache have Windows builds, but the pathing and other differences are bothersome, especially if the ultimate goal is to run the site on a Linux server.
The second is a bare bones Windows partition where I test suspect websites or software. Clients ask me to quickly evaluate a program that they want to buy. I'm not about to use my computer as a guinea pig (any more) now that VMWare is free and the hardware requirements are low enough (by todays standards).