Open source virtualization projects

Last time I checked SourceForge for virtualization projects was end of November 2004, founding just 3 promising works.
What changed after more than 1 year?

Existing projects

vmware-magic reached version 1.0, but I think wasn’t intedend for a broad audience, so it still hasn’t a homepage detailing the work.

Both OpenVMRC and VMware Consolidated MUI still have no software to download.

New projects

VirtualSTB
Virtual Set Top Box. That is Windows multimedia solution that uses various Linux software that is run on same machine using Virtaul Machine aproach (coLinux, Bochs, VMware, VirtualPC,etc.).

Virtualization Toolbox
A set of small tools to assist in the maintenance and tuning of computers running VMware ESX Server both online (real time) and offline (using the VMware supplied “vm-support” script output).

Kernel Emulation on Windows
Kernel Emulation on Windows allows you to run x86 Linux native binaries under MS-Windows. No recompiling is required. The goal is to be able to run your favorite distro without dual-booting or using emulation products such as Vmware, Qemu or coLinux.

The Virtual Box Project
The Virtual Box Project develops a free alternative to the virtual machine software VMWare.

VMware Player files project
We will make VMware Player (“Playable virtual machines” files, of popular operating systems such as Linux (And different distros), Solaris, BSD and other operating systems. Packages can vary from 10MB to 2GB. VMware Player (Host software) is freeware.

VMP Config
Adds some of the features from VMware Workstation which were not included in the free VMware Player. Manipulate existing virtual machine’s virtual hardware, change network preferences, etc. Coded in Java.

ESX export-machine
bash script to export virtual machines from VMware ESX.

vmx-creator
vmx-creator will be a GUI to generate virtual machine configuraiton files compatible with VMware’s freely available VMware Player.

VMacWare
Open source version of VMware for new x68 Apple Mac’s.

Tech: Automating VMware Virtual CDROM and floppy disconnection

Gabrie van Zanten posted on VMTN Forums a Bash script for disconnecting resources-consuming virtual CDROM and floppy devices:

I found that project admins who install VM’s often forget to disconnect CD-rom or floppy drives after they have been used. And because according to the VMware docu, CD-rom and floppy drives use extra resources through the COS, I started looking for a script that could disconnect all CD-roms and floppy at night.

Through the VMware community forum I received a script from Stuart Thompson which I editted for personal use. The result is below.

Tech: Accessing a serial console on a VMware Linux virtual machine

A VMware user posted a nice how-to involving a tool called socat on VMTN Forums:

Create the serial ports within the VM

  1. With your virtual machine stopped and using the GUI vmware console click on the “add hardware” button
  2. Add a serial port with the following parameters:
    • Connect at Power On: checked
    • Use Named Pipe
    • Output file is ./serial1
    • This end is the server
    • The other end is an application
  3. You may want to add a second serial port now

Note: At this point you have told vmware to create the file ./serial1 in the directory containing the other files for this VM. This file won’t be created until you start the VM the next time.

Start the VM

Start the VM. As soon as the VM reaches the BIOS prompt it will have created the special file ./serial1 on the VMware host machine.

Connect to the Special File

VMware calls this a “Named Pipe”, but it’s actually a Unix Domain Socket. A named pipe can be opened as a file, but a UDS cannot. Instead, I use this hackish command to get to the UDS.

socat -d -d -d /var/lib/vmware/Virtual\ Machines/vmtestcli5/serial2tcp4-listen:9988

This links the Unix Domain Socket to port 9988 on the local machine.
Using telnet open port 9988 on the vmware host machine. You will be able to communicate into and out of the serial port.

Rather than “tcp4-listen:9988” you can use “stdio” to go directly to/from a shell on the vmware host server.
Any control characters do not get passed through appropriately.

Virtualization triggers Windows Activation process

David Berlind from his ZDNet blog writes about Microsoft Windows Activation and VMware Player problems:


So, I finally got around to testing the Player to see what would happen if I copied a clone from my AMD64-based Ferrari notebook to an IBM Thinkpad T42 and I was quite surprised at the results. Upon starting the virtual machine on the Thinkpad T42, Windows XP’s start-up halted about midway through and told me that that the computer’s underlying configuration had changed significantly and that I had to re-activate my copy of Windows. So, I moved forward with the activation and, upon activating, everything returned to normal and the virtual machine started working.

Cool, I thought. But what was it between the copy of VMWare Workstation on the Ferrari and the Player on the Thinkpad that was different — different enough for Windows to detect a change. I thought that VMWare’s virtual machine technology virtualized everything to the point that the operating system and applications in a VM were completely abstracted from the underlying hardware. Well, apparently not. According to VMWare group product manager Srinivas Krishnamurtiff, there are some things that are not virtualizable. One of them is the host system’s processor. Said Krishnamurtiff “there’s a processor ID that’s not virtualizable.” In other words, for the clones to truly be portable across systems, the systems may have to be relatively close (within the same family) in terms of process configuration. At the very least, they can’t be processors from a different manufacturer…

This is not just a Player issue. Every time you move a virtual machine from a physical host to another you’ll have the problem, with every virtualization software.

Also the article states that copying a clone to another computer is a license violation. It depends: Microsoft revised its licensing scheme about virtualization in October 2005, granting users to have several thousands of powered off virtual machines, until they have a license for the only one powered on.

Thanks to About-Virtualization for the news.

Microsoft Vista’s Virtual PC Express will license legacy Windows virtual machines

Quoting from TG Daily:

Following up on this morning’s news of six versions of Windows Vista, Microsoft’s next-generation client operating system, a Microsoft spokesperson told TG Daily this afternoon that Virtual PC Express, a feature of Microsoft’s new Enterprise and Ultimate versions, will be designed to run older editions of Windows as a subsystem.

“Virtual PC Express will be able to run any previous version of the Windows operating system,” the spokesperson wrote. “Customers who have annuity agreements with Microsoft automatically are granted a second license to install Windows as well as downgrade rights. This enables a customer to install an older version of Windows on top of Virtual PC Express without having to acquire an additional license.”…

Read the whole article at source.

Virtual Iron joins Blade.org

Quoting from the Virtual Iron official announcement:

Virtual Iron Software, a provider of data center virtualization and management software solutions, today announced that it has joined Blade.org, an industry community around IBM’s BladeCenter ecosystem.

Virtual Iron’s support for IBM BladeCenter, provides a flexible, high performance foundation for utility computing initiatives with integrated I/O interconnects, networking and built-in redundancy. Virtual Iron’s virtualizes all BladeCenter components, including processors, memory, storage and networking, to speed deployments and migrations, while also providing outstanding scalability. Virtual Iron’s policy-based management also makes use of health status information from BladeCenter components to allow automated actions in the event of failures.

Thanks to Thincomputing.net for the news.

Tech: Enabling Intel PRO 1000/MT virtual network card in VMware virtual machines

Richard Garsthagen find a new hack form .vmx configuration files of VMware virtual machines:


So how do we get this Intel Pro 1000/MT card in our VM, well quite simple. Edit your .VMX file and make sure the Ethernet configuration has this line in it:

ethernet0.virtualDev = “e1000”


Now aware of this change, I was of course curious if there was a performance difference between the vlance and intel pro NIC. Well I am not allowed to publish benchmark tests, but I can tell you there is. But in different scenarios I had different winners. TCP pure network the vlance was faster, UDP pure network the Intel won by far. Doing file copying (so disk and network) the intel won frequent as well…

Read the whole post at source.

Significant improvements forecasted for virtualization

iReach Research published a report, Virtualisation as an Enabler of Knowledge Management, claiming a quarter of European firms are currently using server virtualization and 67% of them plan to increase their usage over the next year.

This report seems to totally disagree with the 1 week ago news Techworld reported: Users fail to grasp virtualization benefits.

Based on my personal experience and after collecting several feedbacks from virtualization professionals around Europe, I find rather difficult to believe iReach report.
I would believe a whole quarter of them is evaluating virtualization technologies and testing them in limited environments. I absolutely don’t believe they are using virtualization in production.

Since the report doesn’t explain how firms are working with virtualization, and which kind of industries are involved (it would be easier to believe a quarter of all european IT companies statement) I don’t find it very useful.

Thanks to VMblog for the news.