The Virtual PC Guy On Virtual Server 2005 R2 And Hardware Virtualization
Wednesday, 03 May 2006 by Michel Roth
Ben Amstrong a.k.a the Virtual PC Guy answers the most asked question about Virtual Server 2005 R2 and hardware virtualization:

Prior to hardware virtualization support the x86 (and x64) processor architectures have not supported native virtualization. This has made writing software like Virtual Server / Virtual PC quite difficult. The approach we have used to deal with this has been to try and virtualize as much of the processor as we can, and then to handle the rest with emulation. Usually this means that we have been able to run any user mode code in the virtual machine directly on the processor (virtualized) but that we have to emulate kernel mode code in the virtual machine.

Now - in order to provide improved performance, our Virtual Machine Additions will (on Windows virtual machines) make appropriate changes to the guest operating system such that we can run the virtual machines kernel mode code directly on the processor too (please note that there are some major simplifications in the above statements).

Hardware virtualization support allows us to run all of the virtual machine code directly on the processor in virtualized mode (with a few edge case exceptions). So getting back to the original question - what does this all mean for Virtual Server?

Well the first interesting point to make is that it does not make much difference for people running Windows virtual machines with the Virtual Machine Additions installed. As I mentioned we had already managed to get these virtual machines running almost entirely virtualized (from a processor perspective).

So what does get better? Well - first thing to know is that since you can only load the Virtual Machine Additions after you have installed an operating system - so hardware virtualization helps greatly with the speed of operating system installation. For example - on my Intel test hardware I have been able to install Windows Server 2003 in a virtual machine in approximately 18 minutes (not bad - eh?). The second thing is that the performance of non-Windows operating systems is greatly boosted - as they now get to run directly on the processor too.

A final note - the hardware virtualization support being provided by Intel and AMD at the moment is for the processor only. We are still using the same emulated devices - obviously this is the next big area for the industry to focus on in order to increase performance of commodity virtual machines.

Read Ben's post here.

Related Items:

Hardware Requirements For 64-Bit Guest Operating Systems (11 May 2006)
Virtual Rootkit Targets OS, Not Virtual Machines (17 March 2006)
The Rings Of Power: Intel's VT-x Technology And The Secrets Of Virtualization (16 December 2005)
Staging A Disaster Recovery VM (3 January 2007)
Transparent Paravirtualization And The Proposed Virtual Machine Interface (VMI) (10 May 2006)
VMware Server 2.0 Beta (13 November 2007)
Processor Compatibility in Hyper-V R2 (11 June 2009)
How To Build And Optimize A Virtual Machine Guest (12 July 2006)
IDE Vs SCSI under Virtual Server (7 February 2006)
Double-Take For Virtual Systems (13 February 2006)
Comments (0)