Linux.com

Home News Software Linux Kernel Development Linux Kernel To Get Microsoft Code

Linux Kernel To Get Microsoft Code


Microsoft has contributed code to the Linux kernel.

Such a statement has been made before, always under an "April 1" dateline or tagged as "humor." But neither of those conditions are the case today. The statement is completely true, and the relationship between Microsoft and Linux will never be the same again.

The news came with little media advance work, showing up as a press release on Microsoft's site today as they made the announcement on the opening day of OSCON. The impact, as one would expect, was huge.

In order to provide better support for Linux as a guest OS for Microsoft's Hyper-V virtualization app, Microsoft is contributing 20,000 lines of device driver code to the Linux kernel under the GPL v2 license. The code has been submitted for inclusion to the main Linux kernel source tree.

Microsoft sees this as a step towards better interoperability with customers on its virtualization platform, which they hope will be seen as a stronger offering now that Linux should become a more efficient guest OS on Hyper-V.

“Our initial goal in developing the (Linux driver) code was to enable Linux to run as a virtual machine on top of Hyper-V, Microsoft’s hypervisor and implementation of virtualization," Tom Hanrahan, head of Microsoft's Open Source Technology Center stated in Microsoft's announcement, “The Linux device drivers we are releasing are designed so Linux can run in enlightened mode, giving it the same optimized synthetic devices as a Windows virtual machine running on top of Hyper-V. Without this driver code, Linux can run on top of Windows, but without the same high performance levels. We worked very closely with the Hyper-V team at Microsoft to make that happen.”

One of the architects of the code submission is Linux kernel programmer Greg Kroah-Hartman, who has been working with Microsoft's developers through the Linux Driver Project, which Kroah-Hartman leads.

On his Linux Kernel mailing list announcement today, Kroah-Hartman also explained the purpose of the release:

"These drivers are to enable Linux to work better when running as a guest on top of the Hyper-V system. There is still a lot of work to do in getting this into "proper" mergable state, and moving it out of the staging directory, but Hank [Janssen] and I will be undertaking this task," he wrote.

Kroah-Hartman acknowledged the work done by Microsoft as well as by Novell, which sponsors his work on the Linux Driver Project.

This event marks the first time Microsoft has submitted code to the Linux kernel, and the first major code release they have made under the GPL (that wasn't under GPL already).

Comments (13)Add Comment
Jesper Nee
Interesting...
written by Jesper Nee, July 20, 2009
I bet they (Microsoft) will buy Novell and create a MS Linux distro before the end of 2010. This will be interesting...
Josip
Interesting indeed
written by Josip, July 20, 2009
I had a discussion with my colleagues about this topic, prediction was same, microsoft will buy novell and we are going to have a best Operating system in universe. smilies/smiley.gif
Adam Gignac
Call me paranoid
written by Adam Gignac, July 20, 2009
I've always waited for the day when Microsoft would accept Linux and start playing nice. But now that its here, I'm having second thoughts. I hope there isn't a snake hidden up their sleeve as we shake hands.
Christian Duquesne
...
written by Christian Duquesne, July 21, 2009
> "The code has been submitted for inclusion to the main Linux kernel source tree" smilies/sad.gif
I hope it will stay optional, considering the "fairness" of this company in the past, I cn't help bust mistrust them...
antisa
...
written by antisa, July 21, 2009
Timeo Danaos et dona ferentes.
AZorin
...
written by AZorin, July 21, 2009
LOLZ! M$ now know that Linux RULEZ and they want to make it better. LOLZ stupid move for M$!smilies/grin.gif
Omaha
...
written by Omaha, July 21, 2009
Believe 2010 is a bit early for Microsoft wrt purchasing Novell. First they need to get Gnu/Linux/OpenSource to lower the guard a coupple of notches more.

At present Microsoft is the Puppetmaster, Novell is the ventriliquist puppet, and Gnome is the scene. Novell needs the Microsoft cash, Gnome needs Novell.

General acceptance of Mono is achieved by Banshee and Tomboy. That establishes Mono in the consumer's preferred distro such as Ubuntu.

A takeover of Novell will presently be counterproductive. If not, it would have happened long time ago. As soon as Microsoft deems it safe (i.e by sufficient mono penetreation), and they feel they are edible by sufficient numbers amongst OpenSource communities+++ they will carry out the kill.

They will either continue to use Novell to break doors, or they will kill Novell and any part of it that is not secured by licenses.

My bet is 2012.

Novell blogs would probably fit better within the Microsoft blogosphere than amongst the Gnu/Linux/OpenSource..
Andrea Benini
Beware of Them !
written by Andrea Benini, July 21, 2009
I hope it's not the same move they've maded in the past with Apple, Lotus, Adobe, UNIX, and so on.
Their strategy was always : "embrace, extend, extinguish"

They'll embrace opensource, invest in interoperability, purchase companies and technology (Novell for example)
They'll extend opensource drivers and access, custom code patches, custom os interoperability, custom acess for certain OSes (so they can cut OpenSource movement: Debian, Gentoo, Slack, free projects and so on
They'll extinguish opensource by ceasing support to unwelcomed drivers, kernels and technology to semitate a mess on Linux community

They've always acted in this way, just read past Microsoft moves, see what happened to Apple in the '90s or IBM in the 80's; Linux is the new cancer (as Ballmer reported)
Take a look at this article (http://www.ecis.eu/documents/F...epaper.pdf), this is one of the best analisys I've ever seen on them

I hope they'll cease on these "benefits" or we'll run into troubles
Gergely Máté
The GPL is strong...
written by Gergely Máté, July 21, 2009
No, I strongly believe that there is no need to be afraid: the GPL is strong, and Microsoft is like just yet another individual that contributed to a free software project in order to benefit from it. You can always think about a company if it were a large individual with many heads smilies/cool.gif. But Linux is not a company, it's a free software project, so you can always have your personalised version compiled if you don't like something in it. Thus it's not the GPL'd code you should beware of.

I think these news are good news, because Microsoft's behaviour may serve as an example to hardware vendors that used to provide at most restricted drivers. The message is clear. Hardware vendors: contribute!
lakshmipathi
Why?
written by lakshmipathi, July 21, 2009
I really suspect hidden agenda behind this - Virutalization (and cloud ) is really hot everywhere.
Most virtualization runs with Linux.Now M$ wants spread their Virtualization technique with the help of Linux?

We have better virtualization technologies(xen,kvm etc) other than Hyper-V though. smilies/tongue.gifsmilies/tongue.gif

Why not open up M$ office and support ODF file formats smilies/angry.gif
Rob Day
Waiting for the other shoe to drop ...
written by Rob Day, July 23, 2009
Ah, there it is. You had to guess that was coming.
Rob Day
The other shoe ...
written by Rob Day, July 23, 2009
OK, why did submitting that comment cause the link to be dropped? Here it is in plain text:

http://www.theregister.co.uk/2009/07/23/microsoft_hyperv_gpl_violation/
Jesper Nee
...
written by Jesper Nee, July 23, 2009
So sad... They will never learn will they!

Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.

busy
Become an Individual Member

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Members / Staff / Board