


Linux Kernel to Include KVM Virtualization 194
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."
Yes... (Score:2, Funny)
Re: (Score:2, Funny)
Microsoft's Valuable Intellectual Property is important! Respect Microsoft's Authoritah!
how many KVMs (Score:5, Informative)
First there was KVM [wikipedia.org] switches and then there was the Java KVM [sun.com] (kilobyte VM).
Now there's the linux KVM [sf.net] which has nothing to do with either those or the Kernel VM rewrites of the linux past.
Leave that acronym alone !
Re: (Score:3, Insightful)
Re: (Score:3, Funny)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:3, Funny)
Now all we need is somebody to connect a KVM (switch) to a KVM (virtualisation) machine that's running a KVM (Java KVM)!
I just know that someone is going to comment on KVM overlords soon...
Re: (Score:2, Funny)
Now all we need is somebody to connect a KVM (switch) to a KVM (virtualisation) machine that's running a KVM (Java KVM)!
If I get to pick who gets to hook all this up, my vote goes to K. V. Mahadevan [wikipedia.org], who is also under KVM in wikipedia. Or perhaps a member of the Belgian Football Team [acronymfinder.com], while visiting the Kalamazoo Valley Museum [acronymfinder.com]. Actually, looking at a list of Acronyms for KVM [acronymfinder.com], it appears that this usage of KVM ranks second to last of the 8 that it lists, only above the Belgian Football team, Koninklijke Voetbalclub Mechelen. Pretty pathetic, if you ask me.
Re: (Score:3, Interesting)
Maybe we need longer acronyms ;) (Score:2)
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.
Re: (Score:2, Funny)
Now there's the linux KVM [sf.net] which has nothing to do with either those or the Kernel VM rewrites of the linux past.
Leave that acronym alone !
KVM? Personally, I'm waiting for the Gnome version.
Re: (Score:2)
Re: (Score:3, Funny)
And if you throw out the lame ones, you have, like, five left. That's the problem.
KVM switch? (Score:5, Funny)
Re: (Score:2, Insightful)
> (I have two mice connected as the switch cannot switch the mice correctly)
Keyboard and mouse data comes in packets of about 3 or 4 bytes. If a KVM switch toggles mid-packet the PC and/or the peripheral may get badly confused. A well-designed KVM product will get this right, but many don't; it looks like your Belkin product falls into this category.
KVM swithces also vary enormously in their video quality. It is a mista
Re: (Score:3, Informative)
But seriously, I read an article once about why kvms can't switch mice properly, apparently it's because the ps2 mouse protocol has no synchronisation in it. So when a cheap kvm switches the
Re: (Score:2)
On the other hand, we have a 8-port Lindy KVM which is a right PITA sometimes, often not switching video for our servers running at not-very-high-res.
Re: (Score:2)
There is no power on earth... (Score:2)
Ever hear of 5 9s reliability? Belkin KVMs are a single 9 solution, and sometime I doubt they even hit that.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
I have one of their 4-port USB SOHO KVM switches. I have no problems when I'm switching between Macs hooked up to it, but for the machine running Windows XP, it always takes several seconds for the OS to re-recognize the USB keyboard and USB mouse. I don't
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Answer#2: BIOS.
Re: (Score:2)
Not frist psot! (Score:4, Interesting)
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 [sourceforge.net]
It does also say elsewhere on the site http://kvm.sourceforge.net/faq.html [sourceforge.net] 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.
I hope Windows can't access the hardware. (Score:2, Insightful)
Not everything, just video (Score:4, Interesting)
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.
Re: (Score:3, Insightful)
If the full interface documentation for recent Nvidia and ATI video cards was released, and GPL-compatible drivers existed, this would probably already be in the works.
Re: (Score:2)
If the emulators allowed direct hardware access, interface documentation wouldn't be required. You'd fire up Windows, granting it access to all resources associated with the card's PCI ID, and it would use its own driver. Of course, you'd have to give it exclusive access to the display for the duration of its session, but I don't see that b
Re: (Score:2)
Let me let you in on a little secret. The people that work on stuff like this have no interest in running Windows in order for 3D to work. In fact, they probably aren't gamers either.
Re: (Score:2)
If you have a driver for the device, just tell the driver to perform a device reset. Should work for most devices.
If you don't have a driver, why do you care?
Theres also the fact that in order to get "direct hardware access" you need to run in ring 0, which means you have absolutely no protection from the guest piss
Re: (Score:2)
Re: (Score:3, Insightful)
Re: (Score:2)
If you read Xen's marketing material, the corporate desktop is pretty important to them too. And what with Vista providing a "degraded experience" for machines without Direct3D support, I'd expect them to be working on it right now, hopefully in time to get support working before most of their potential clients have Vista rolled out.
Re: (Score:3, Insightful)
Games may be an inhibitor for Linux adoption in the home market, but Xen/QEmu/KVM/VMWare aren't aimed at the home market at all. When you consider the fact that what you want is most definitely not a simple task, you may understand why nobody has done it yet.
Re: (Score:2)
Re: (Score:2)
Re: (Score:3, Insightful)
If it locks up the video sub system it can make the machine unusable except via a net or dumb terminal connection , which could mean the machine needs a reboot. Not good in a business enviroment.
Re:I hope Windows can't access the hardware. (Score:5, Informative)
DMA + lack of IOMMU [wikipedia.org] = unrestricted access to system memory
... in the WORLD
Re: (Score:2)
So you proved.
"So I grant you that write-access to a storage device COULD theoretically be a problem. But access to anything else? No way."
So you don't think that screwing up the video would be a problem? Well I suppose if you only access your linux box through a net connection or serial terminal it wouldn't be.
I'm not saying any of this happens now , but if it becomes common then who's to say some virus writer won't add in a litt
Re: (Score:2)
Sorry , it doesn't always work like that. I've had X servers totally lock up video cards which stay locked even once the X server process has been killed and no amount of X restarts solved it. The only thing that worked was shutting down then switching the machine off then on again. Now this may be limited to certain graphics cards (Matrox in my case) but the fact it happe
Re: (Score:2)
No it doesn't , but if you're running windows virtualised then the odds are you're using the console and if you can't use the console because some virus has crashed the display then that possibly defeats the purpose of having the machine in the first place especially if it happens to be your workstation.
Re:I hope Windows can't access the hardware. (Score:5, Insightful)
If you don't know, please leave your geek-card at the door on your way out.
Short answer - DMA. [wikipedia.org]
Long answer - memory protection between processes (and in this case guest OSes) is done by the MMU, making sure that process A can't read/write to memory owned by process B (or in this case guest OS and host OS). Unfortunately, the memory space seen by devices on extention buses like PCI is not mapped by the MMU. If a process has direct access to a device that supports DMA, it can tell the device to read or write memory that belongs to other processes (f.ex. order the sound card to read the sound buffer from kernel space. The process can then read the sound buffer to get access to kernel memory).
To safely allow a process (or guest OS) direct access to hardware devices, the hardware architecture and OS needs to be designed so that a DMA from the hardware device can only access memory owned by the process that ordered the DMA.
Re:Not frist psot! Or, Stifr Tsop (Score:2)
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...)
Re: (Score:2)
Excellent (Score:2, Interesting)
VMWare (Score:3, Informative)
http://www.vmware.com/ [vmware.com]
Re: (Score:3, Funny)
You mean I can get drunk if I use them too much ?
Re: (Score:3, Insightful)
Re: (Score:3, Informative)
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 p
Re: (Score:3, Informative)
"The driver supports i386 and x86_64 hosts and guests. All combinations are allowed except x86_64 guest on i386 host. For i386 guests and hosts, both pae and non-pae paging modes are supported." (From LKML)
Only up to date processors? How up to date? (Score:3, Insightful)
Re:Only up to date processors? How up to date? (Score:4, Informative)
"Intel VT was officially launched at the Intel Developer Forum Spring 2005. It is available on most Pentium 4 6x2, Pentium D 9x0, Xeon 3xxx/5xxx/7xxx, Core Duo and Core 2 Duo processors. On some implementations, IVT support may be switched off in the BIOS/EFI."
"AMD processors using Socket AM2, Socket S1, and Socket F include AMD Virtualization support. In May 2006, AMD introduced such versions of the Athlon 64 and Turion 64 processors. AMD Virtualization is also supported by release two (x2xx series) of the Opteron processors."
Re: (Score:2)
Re: (Score:2)
Virtualisation on Linux (Score:5, Informative)
VMWare [vmware.com]
linux-vserver [linux-vserver.org]
UML [sourceforge.net]
OpenVZ [openvz.org]
Plex86 [sourceforge.net]
Qemu [bellard.free.fr]
Bochs [sourceforge.net]
lhype [ozlabs.org]
and now
KVM [sourceforge.net]
http://linuxvirtualization.com/ [linuxvirtualization.com] has some good linux to recent announcements regarding virtualisation software on Linux.
Are there any more?
Re: (Score:2)
I feel VMware is still king of the hill for most anything (especially Windows on Linux). I have yet to use any other system that can match it in terms of features, performance and compatibility. I know that sounds like an advertisement but it is one of the few pieces of software I have consistently bought the latest version of since it was first released like 7 or 8 years ago. It tends to be much less buggy than anything else also.
You can onl
Re: (Score:2)
Re:Virtualisation on Linux (Score:5, Informative)
linux-vserver and OpenVZ are chroot-based virtual hosting environments, not virtualized operating systems. You can add OpenVSD to the list of such projects, although it appears to be practically dead.
Qemu and Bochs are PC emulators, not virtual machines, which is a slightly more subtle distinction, but still one that needs to be made.
UML is something different entirely -- an operating system that is designed to run as a process on another operating system with a similar syscall interface.
That leaves KVM, Xen (which uses an exokernel, so is effectively its own OS, not a Linux-hosted VM), VMware (which is proprietary) and plex86 (which will only run modified kernels so doesn't provide a true virtual machine).
So, you see, KVM is effectively the only Linux-based VM system (by the traditional definition) on that list.
Re: (Score:2)
No, Qemu, used along with with the "Qemu Accelerator" is just as much a virtual machine as VMWare.
Re: (Score:2)
Re: (Score:3, Informative)
Also the author of KQEMU did say he would open up the source if sponsored.
Re: (Score:3, Informative)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
I don't think this feature will be quick enough to save you time though.
It's pretty slick in vmware.
Re: (Score:2)
You do know that QEmu can suspend and resume images as well, right? Even better, with -snapshot, it won't commit any of the changes to the disk image (unless you tell it to while running), so you can keep resuming from the same point again and when you're done, just close it.
For those brain-dead like me: (Score:5, Informative)
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.
Re:For those brain-dead like me: (Score:5, Funny)
Re: (Score:3, Informative)
This confirms it. I can't play. But it also lists who can play! Are you on the list? Check it out.
Re:For those brain-dead like me: (Score:5, Informative)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re:For those brain-dead like me: (Score:4, Informative)
I read a ng post where the author said his VM desktop was fine, but with the new CPUs you'd get performance very near running natively.
Re: (Score:3, Informative)
That's not a good way of putting it, because it incorrectly suggests that VMware somehow pioneered virtualization and KVM follows it. But what VMware actually pioneered was a workaround for a lack of virtualization instructions on older x86. Modern x86 virtualization follows models that have been around since long before VMware existed.
VMotion/HA? (Score:5, Interesting)
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)?
Re: (Score:3, Informative)
Re: (Score:2)
Read their FAQ (Score:3, Informative)
"kvm today supports non-live migration, where there is a pause while memory content is transferred. Pauseless live migration is work in progress."
Re: (Score:3, Funny)
Re:VMotion/HA? (Score:5, Funny)
I'm an American, you insensitive clod. That means on a stick, wrapped in a pork rind, breaded, then deep fried. Mmmm.
Re: (Score:2)
Re: (Score:2)
Moshe Bar founded both XenSource (the people behind Xen) and Qumranet (the company behind KVM), so hopefully he'll be able to develop something like this if he hasn't already.
A W E S O M E ! ! ! (Score:4, Interesting)
Now turn that kernel into a BIOS http://linuxbios.org/Welcome_to_LinuxBIOS [linuxbios.org] and you will be able to use the same images for all your machines.
KVM? (Score:3, Funny)
What is the big deal? (Score:2, Insightful)
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
Re: (Score:2)
Second... you haven't shopped for hosting anytime in the past year, have you?
Re: (Score:2)
It's more use on servers -- where as typically you have several vastly overpowered servers* each doing one thing (so if the kernel crashes, or gets rooted, or a bit of hardware goes dead, only one service is affected); with VMs you can put all those installations onto one physical bit of hardware and make much better use of it. If one of the servers suddenly needs more CPU power, or the hardware needs changing for other reasons, you can migrate the installations to a different bit of hardware, thus having 1
Re: (Score:3, Informative)
What else does it offer you, the consumer? Well, you can try things that no sane mortal should attempt with their computer. Install crapware and find out what it actually do
SVM for .net / Java (Score:3, Interesting)
Re: (Score:2)
I don't know how Sun's GC works, but I've worked on implementations using Boehm's collector, which is able to access the dirty bits on some OSs (e.g. under Win
Re:What benefits does this give? (Score:5, Informative)
For thoses who are interested, look at this page :
http://kvm.sourceforge.net/faq.html [sourceforge.net]
It is the same thing, but it is actually readable.
Re: (Score:2)
Because it gave *gasp* _information_ to the one who asked for it?
Re: (Score:2)
Re: (Score:2)