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. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Linux Desktop Security Could Be A Whole Lot Better
  2. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  3. New NVIDIA Linux Driver Supports The GeForce GTX 780
  4. Chrome 28 To Offer More Speed Improvements
  5. Digia Announces "Boot To Qt" Project
  6. X.Org Libraries Hit By Round Of Security Issues
  7. Wayland's Weston Gets Output Scaling Support
  8. Raspberry Pi Gets New Wayland Weston Renderer
  9. Debian GNU/Hurd 2013 Release Brings New Packages
  10. Intel Ultrabook Performance Is Faster With Mesa 9.2
  11. Hot Relocation HDD To SSD Support For Btrfs
Latest Forum Talk
  1. how to use old laptops with via gfx
  2. Raspberry Pi Gets New Wayland Weston Renderer
  3. Digia Announces "Boot To Qt" Project
  4. Chrome 27 Loads Web Pages Faster
  5. Haswell cpus released to manufacturers wih bugs...
  6. Linux Desktop Security Could Be A Whole Lot Better
  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