VMware Preps To Push More Mainline Kernel Code

Posted by Michael Larabel on May 16, 2012

To further enhance the Linux virtualization experience with VMware products, the company is preparing to push the Virtual Machine Communication Interface and VMCI Sockets into the mainline Linux kernel.

Andrew Stiegmann of VMware has pushed out a set of eleven patches under an "RFC" (Request For Comments) flag as "In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel."

As far as what VMware VMCI is, below is the description that was part of the patch series descriptions on the kernel mailing list.
VMCI allows virtual machines to communicate with host kernel modules and the VMware hypervisors. User level applications both in a virtual machine and on the host can use vmw_vmci through VMCI Sockets, a socket address family designed to be compatible with UDP and TCP at the interface level. Today, VMCI and VMCI Sockets are used by the VMware shared folders (HGFS) and various VMware Tools components inside the guest for zero-config, network-less access to VMware host services. In addition to this, VMware's users are using VMCI Sockets for various applications, where network access of the virtual machine is restricted or non-existent. Examples of this are VMs communicating with device proxies for proprietary hardware running as host applications and automated testing of applications running within virtual machines.
VMware already has several of its virtualization components integrated into the mainline Linux kernel, but it's good to see more support code coming.

While VMware's virtualization products aren't open-source or free as in free beer (sans the VMware Player), at least on the desktop front it's not without its own set of advantages. Over KVM/QEMU, VMware virtualization allows for 3D/video acceleration on guest virtual machines that is accelerated on the hardware by the host. The OpenGL stack is open-source with the virtual GPU components being integrated into the mainline Linux kernel DRM and Mesa Gallium3D. It's open-source, works with the mainline components, and performs quite well. I'm quite a fan of using VMware for its accelerated OpenGL guest benefits compared to VMware/KVM currently not providing any form of 3D acceleration (I use VMware Fusion on my main business system). With VMware, things tend to "just work" from a clean install and then enhanced when installing the guest kernel modules, but now it should work even better out-of-the-box when the VMCI code is merged. This could possibly happen for the Linux 3.5 kernel and weighs in at around 15,000 lines of new code with the vmw_vmci module.

Meanwhile, Oracle hasn't been working lately on merging any of its guest additions into the mainline Linux kernel. They would have a tough time merging the VirtualBox modules anyways since the upstream Linux kernel developers view them as tainted crap.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. The Cost Of Ubuntu Disk Encryption
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
Latest Linux News
  1. A New X.Org-Free Wayland LiveCD Released
  2. Unity 8, Mir Made Progress This Week On Features
  3. LLVM Clang 3.3 RC2 Is Ready For Testing
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Linux Desktop Security Could Be A Whole Lot Better
  7. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  8. New NVIDIA Linux Driver Supports The GeForce GTX 780
  9. Chrome 28 To Offer More Speed Improvements
  10. Digia Announces "Boot To Qt" Project
  11. X.Org Libraries Hit By Round Of Security Issues
Latest Forum Talk
  1. Linux's "Ondemand" Governor Is No...
  2. A New X.Org-Free Wayland LiveCD Released
  3. Jolla Announces Their First Phone
  4. Steam: No used games...
  5. AMD RadeonSI Gallium3D Begins Simple CL Demos
  6. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite