Virtualize The Operating System

March 17, 2005
Need to run more than one operating system at a time? Doing so can be very handy for supporting backward compatibility. It's also a useful way to isolate new platforms while running an existing platform on the same hardware. Two approaches are a

Need to run more than one operating system at a time? Doing so can be very handy for supporting backward compatibility. It's also a useful way to isolate new platforms while running an existing platform on the same hardware.

Two approaches are available for running multiple operating systems. The first is the virtual machine manager (VMM). The second is the user-mode operating system. It's possible to mix and match these approaches, though the typical installation is much more limited (see the figure).

VMMs virtualize the host processor. This enables the host operating system, which is optional, and the VMM to run simultaneously with the client operating systems. The VMM traps the client operating systems' access to the hardware.

Designers should take notice of two commercial VMMs, Microsoft's Virtual PC and VMware's namesake, which support standard operating systems such as Windows XP. Using these VMMs, developers can run their host development platform alongside the target platform, assuming the target runs on the same processor as the host.

Virtual PC does a great job hosting Windows operating systems, while VMware tackles workstation and high-end IT infrastructures. VMware's high-end management is designed to tackle large, multiprocessing environments. Then there's Xen, an open-source VMM supported by the University of Cambridge. Xen definitely is not in the same class as Virtual PC or VMware, but it can be a useful tool.

Embedded designers looking for non-x86 alternatives can check out platforms like Green Hills Software's Integrity Padded Cell for its Integrity operating system and Jaluna's OSware. These VMMs run on a variety of processors, but they typically require more customization than embedded designers are familiar with.

The second option for running multiple operating systems, the user mode (UM), requires modification of the client operating systems. The advantage is that the operating system now looks like an application to the host operating system removing the hardware virtualization requirement. VMM overhead is small, allowing a user-mode implementation to be even more efficient.

User-Mode Linux (UML) is an open-source project designed to run Linux as an application. Its initial target was the x86 architecture. LynuxWorks BlueCat Linux UML was just released for the Power PC G5 processor architecture. The PowerPC is very popular in embedded applications. It is the first commercial UML product for non-x86 platforms.

Virtualization is an invaluable tool for development and deployment. Designers definitely should check out the options.

Green Hills Software
www.ghs.com

Jaluna
www.jaluna.com

LynuxWorks
www.lynuxworks.com

Microsoft
www.microsoft.com

User-Mode Linux
user-mode-linux.sourceforge.net

VMware
www.vmware.com

Xen
xen.sourceforge.net

Sponsored Recommendations

Near- and Far-Field Measurements

April 16, 2024
In this comprehensive application note, we delve into the methods of measuring the transmission (or reception) pattern, a key determinant of antenna gain, using a vector network...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Empowered by Cutting-Edge Automation Technology: The Sustainable Journey

April 16, 2024
Advanced automation is key to efficient production and is a powerful tool for optimizing infrastructure and processes in terms of sustainability.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!