Linux Kernel to Include KVM Virtualization
It looks like the newest version of the Linux kernel (2.6.20) will include KVM, the relatively new virtualization environment. From the article: "Thanks to its approach KVM already runs in the current kernel, without any extensive bouts of patching and compiling being required, after the fairly simple compilation of a module. Virtual machines that run unmodified operating systems are meant to appear in the host as a simple process and work independently of the host kernel. In a fashion comparable to that of Xen a modified QEMU is used for the supportive emulation of typical PC components of the virtual machines."
...but does this Linux run Linux?
First there was KVM switches and then there was the Java KVM (kilobyte VM).
Now there's the linux KVM which has nothing to do with either those or the Kernel VM rewrites of the linux past.
Leave that acronym alone !
Quidquid latine dictum sit, altum videtur
I take it this has nothing to do with the other meaning for KVM, Keyboard, Video, Mouse switches... there I was thinking that my Belkin KVM switch was finally gonna work properly (I have two mice connected as the switch cannot switch the mice correctly)
Donald 'Duck' Dunn: We had a band powerful enough to turn goat piss into gasoline.
I'm at work now, and believe or not slashdot is not blocked (almost anything else is), so I can't read the article.
What are the benefits of this vs regular (as in qemu, vmware) virtualization?
Not first post, but at least I can be the first not to kvetch about them not integrating a physical object with a piece of software. -sigh-
The article talks about a news article mistakenly stating it was for Intel processors only. I imagine it said that because the official site says it's for Intel only. http://kvm.sourceforge.net/howto.html
It does also say elsewhere on the site http://kvm.sourceforge.net/faq.html that it's for certain AMDs also.
It claims it can run 32-bit windows inside the virtualization. Does this mean Windows can directly access the hardware, and provide true 3D support and such? Or is it simply another hardware emulator with all the associated problems? Too bad 'windows guest' installation is broken at the moment.
"If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
But is this going to let me run 32-bit Windows under 64-bit Linux? Apparently Xen can't do it and that really bugs me.
The owls are not what they seem
It mentions some code names but I'm not au fait with Intel or AMD code names. How long have these functions been in CPUs? Will my P4 support it or is it only the latest core duos and so forth?
Is this related to that new experimental Linux system call in the kernel that will allow instantaneous switching to another operating system/kernel?
If you it gives another OS *full* access to everything then you'd be just as vulnerable to viruses , worms etc as if you were running that OS natively and you could well find your linux filesystem hosed. Hopefully guest OSes will be in a sandbox or at the very least only allowed to directly access specific user defined hardware resources. If not then I certainly won't be taking advantage of this system anytime soon.
What the hell does this mean?
You can do that in VMWare player and VMWare server, both of which are free (as in beer).
http://www.vmware.com/
...will it run .NET ?
*ducks*
Xen
VMWare
linux-vserver
UML
OpenVZ
Plex86
Qemu
Bochs
lhype
and now
KVM
http://linuxvirtualization.com/ has some good linux to recent announcements regarding virtualisation software on Linux.
Are there any more?
One of the main barriers to Linux adoptoin is the fact that you can't ru Windows games in Linux, unless you reboot into windows. If LVM / Xen / QEMU / VMWare started realizing this and made video driver performance a priority, they could have a real market leader on their hands.
I know if there was a VM out there that coudl run Windows games with full native windows video accelleration, I woudl pay very good money for it.
Sound / disk / CPU performance has been there in VMs for years, at least froma desktop users standpoint. The one area that lags behind all other sis video support. Even with VMWare (arguable the fastest VM out there right now), running a full scrteen Windows session under Linux feels sluggish at best...a nd there isno Direct3D support at all.
And as far as your comment - there is absolutely nothing stopping them from doing this. Just look at X, it interfaces direct with the kernel via DRI, and it's secure.. a crashing X session won't bring your whole machine down.
http://www.haifux.org/lectures/152/kvm-external.pd f
This breaks down in fairyly simple terms where KVM fits in. Basically, the approach is pretty close to the VMware approach but presently requires the newer, more advanced processors to operate. So where VMware can run on more hardware such as my Pentium M processor based laptop, KVM will not likely work as far as I can tell. (Please tell me I'm wrong if I am.)
I'm disappointed that I will not be able to play with this new toy any time soon as I don't think I will be buying new hardware any time soon.
The company I work for now is virtualizing on RedHat boxes running VMWare, and one of the neat features that it has is called VMotion, which lets you nearly instantly move a virtual machine from one box to another without interrupting its execution (except a slight delay). The high availability (HA) feature, which they also have but we have not yet configured, allows this to happen automatically if a host box goes down. There are rules about which VMs may not run on the same machines, etc. (for redundancy purposes, you don't want all your web servers running on the same host, for example).
Is this at all possible with KVM? If not, are they planning it? Is it possible to approximate it with something like OpenMosix, since (IIRC) OpenMosix can move processes around dynamically when nodes fail or get bogged down, and a VM is just a process (assuming a central SAN that all the host boxes connect to)?
I claim first use of "Error No. 0B" - or "No. 0B error." It'll be the new ID 10T!
LOL, QEMU? That's total crap compared to VMware. QEMU is slow even with the proprietary closed-source "speeder upper" part and hardly runs anything. QEMU kill VMware? LOL
Fabrice Bellard, (author of ffmpeg) has stated his intention to open up kqemu if sponsored.
VMWare and Xen already have some million in the bank. kqemu has nil. Read the wikipedia article....
Why does it matter if you're running a proprietary OS in a proprietary VM? If you're concerned about only using free software, why bother with the proprietary OS? If you're wanting to virtualize Free operating systems, use Xen. It rocks.
"It ain't a war against drugs.it's a war against personal freedom" --Bill Hicks
According to http://kvm.sourceforge.net/faq.html is will support VMWare images and it does run win32.
Now turn that kernel into a BIOS http://linuxbios.org/Welcome_to_LinuxBIOS and you will be able to use the same images for all your machines.
Probably a joke but shouldn't be. The kernel developers could make it possible to accelerate the JVM/CLR by giving faster access to the actual hardware pages. What I mean is, the JVM has a 'scratch' area where recently created objects are allocated and then after garbage collecting this area the leftover objects are moved out. They do this because the vast majority of objects last only a tiny amount of time. So to be able to do a GC *only* of this scratch area the JVM actually replaces reference assignment with code that ads to a big list of all objects that took references to objects in this scratch area. Even though this is obviously slow it means the JVM doesn't have to garbage collect the entire contents of memory to make sure nothing has a ref to a new object.
If the JVM could get access to the hardware's dirty page bit that says if a page has been modified since last checked then the JVM could do direct reference assignment and then when garbage collecting only search the modified pages for references into the 'scratch' area. I expect this would be many times faster than the pointer write barrier used now.
Maybe a system call could take a mmap region and return a bitmask of page dirty flags? I think in any case there are plenty of things the kernel developers could do to make software virtual machines better if they tried. I think they just don't care to since that world is alien to them.
that will making a Belkin KVM work properly.
Ever hear of 5 9s reliability? Belkin KVMs are a single 9 solution, and sometime I doubt they even hit that.
I want to play Baldurs Gate. On linux. And a friend can lend me his -pirated- windows 2000 CD.
And No, I don't want the VMWare spyware to tell this to Microsoft.
How well (if at all) does this support Graphics Acceleration? Can I play DirectX games in Windows on Linux? How about OS X (on Macintosh hardware, of course). This could be very interesting for desktop computing as we know it if these things work properly...
Oh, great. It does require hardware extensions for virtualization. -- For some reason I don't feel like upgrading the whole server park here just to migrate from Xen to this thing.
And what if I desire paravirtualization (because it's faster and cleaner) even with such VT-enabled processors available to me?
IMO, unless this technology envolves into something Xen-alike, it was bad decision to include it into the kernel tree.
Does this mean I can use 2 mice independently on my system? Cool!
Help! I'm a slashdot refugee.
Take off your tinfoil hat and let your head breathe.
You think VMWare tells anything to Microsoft? Why would they? They are about as far from being "in bed" with them as you can imagine. For one, Microsoft is their #1 competitor (with Virtual Server).
You can rest assured that VMWare tells **as little as possible** to Microsoft about everything.
All this is not to mention the fact that what you are implying would be highly unethical and if VMWare actually did that, they would have been found out long ago and publicly flogged. VMWare does not "phone home" to anyone, including VMWare Inc. itself.
Even in C/C++, 24 character id's using a 5-character library prefix made it a lot easier to keep track of all the modules. 3-character acronyms have as much capacity as IPv4.
I do not fail; I succeed at finding out what does not work.
I understand we are talking about virtual machines that is multiple OS's running on the same machine simultaneously.
My question is: what does that offer me? Other then possibly running a linux and XP on my home machine what could that possibly offer anyone?
Thanx
Julian
I go out of my way to complicate the simple things, so that I can simplify the complicated things.
See http://www.vmware.com/download/open_source.html
Using QEMU with the closed-source kernel driver mode, or when using Xen in paravirt. w/32-bit Windows, you can make a PCI or PCI-express card available exclusively to a guest, making it appear in their PCI configuration space. Of course, the VGA for the system will still be emulated by the VM. It would be a good idea to do the initial install without the device available, and the make it available on a subsequent boot of the Windows image so it discovers it and prompts for drivers.
IIRC, this does not work for AGP cards. So PCI add-in cards or PCI-e are the only options.
Attach a seperate monitor to this card, and the guest will be able to install drivers for it and generally use it as if it were running dedicated.
Don't attempt to initialize or otherwise use that card from your host/privledged guest, because I can't imagine what the consequences of that would be.
I haven't tried this myself, but we're going to soon when we get some VT-capable hardware. Everything I've read about these capabilities suggests this is possible, and I can't wait to try it. I think the reason you don't hear much about it is because most people still have a single video card, or they are using PCI forwarding for cards that attach to SANs or network cards and stuff for speed.
THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
I'd have thought that most computers that don't have a monitor attached are servers anyway - so why the heck are users
even wasting memory running any sort of graphical user interface on them at all. Seems very wasteful. When I do need to run a graphical app on one of these, I'd just "export DISPLAY=othercomputer:0" and run just the one GUI application itself on a different computers windowing systems.
Even when you would need a whole windowing system (can't think of a good reason why - but perhaps for people who can't remember where they put their programs and like the icons) - it seems to me that VNC, Remote Desktop, etc are a far better solution than a KVM switch.
If it's to administer servers remotely, KVM switches suck too. Since video subsystems die far more than serial ports, you're much better off administering the system through a serial port.
What am I missing, is there any good use for these devices?
It says in their FAQ:
"kvm today supports non-live migration, where there is a pause while memory content is transferred. Pauseless live migration is work in progress."
My Suburban burns less gasoline than your Prius.
To save wikipedia from the inevitable rush of /.ers, someone has already added it to the disambig page (congrats, Dillee1 and Rvalles).
There isn't actually an article, though...
You all have Oo.o and Firefox, so get World Wind.
It seems like only a few months ago I was reading on slashdot that virtualization allows the installation of rootkits without the operating system being able to detect it.
Anyone have more info on this please?
Does this mean we won't need Win4Lin? (no more damned W4L-imposed kernel dependency or fearing that netraverse 2.6.8.1 won't run nice on a 2.6.21, or 2.7.x, or 2.8.x someday...).
I don't see (yet) that this will threaten VMware, but if the KVM could fake hardware enough that I could not need Wine, Cedega/Codeweavers, or Win4Lin, then I could run that legacy Win98 disk of my and run my Lotus Apps in there...
(rubbing hands expectantly...)
Previously: "Linux... Toward the Sunrise..." Now: "Linux... Toward the-- No, now, part of Every Sunrise"
Why would VMware, XenSource etc. want to go after a market which will be difficult to support, and not provide them with the money they need to keep going?
Because as long as they don't support video hardware there will be extra pressure for both other vendors and open source authors to attempt it.
If an open source project does it and gets it right, when the closed source vendors haven't got it, the open soucre project is likely to be adopted, not just by home users, but by commercial users who want to efficiently virtualize the video (along with others who just want another solution). Then the closed-source vendors' market starts to erode.
Unlike the desktop market (where MS' plethora of integrated applications makes displacing them difficult), virtualization tools have a narrow and well-defined scope. That makes a small and well-defined target for authors of competing products/projects.
Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
I believe this will function like VMWare, and not like Wine/Cedega. This isn't an emulation layer on top of an OS, it's a method of running multiple OS's at the same time.
Less like running Windows apps in Linux and more like alt-tabbing through entire OS's.
Unless I'm way way off base, which has happened now and again.
"If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
You smacktard....games are a HUGE reason people don't adopt Linux. Think about this a moment, will you?
If Linux could play Windows games, that's one less excuse NOT to switch to Linux. Right now, there are lots of reasons not to switch. Most are due to compatibility but if you could play games on Linux -- that's one less compatibility issue. Duh.
Then you want Wine or Cedega. VMs don't do accelerated video.
"It ain't a war against drugs.it's a war against personal freedom" --Bill Hicks
Just imagine it:
Get The Facts campaign 2007:
Windows Vista, on average, crashes once every other day.
Linux running Windows Vista, on average, crashes once every day.
Therefore, Windows is more stable than Linux.
> It seems like only a few months ago I was reading on slashdot that virtualization allows the installation of rootkits without the operating system being able to detect it.
> Anyone have more info on this please?
Mod Parent Up!!
What does this news mean to Fedora?
Fedora, statring few months/years ago and finaly delivered in Fedora Core 6, build its virtualization infrastructure on Xen.
While their solutions seems good, it did not convince me because my simple test to run FC6 i386 guest under FC6 x86_64 host using this Xen solution failed (hopefully not because of me but because of lack of support for such scenario). I hope this KVM is better in that regard (i386 under x86_64)?
hany
A kernel-level KVM? Why? Doesn't CTRL-ALT-F[1-12] do that?
LedgerSMB: Open source Accounting/ERP
Well thank you.
You certainly sped-up my experiments with KVM. :)
Thank you again.
hany