Why does Windows 7 need hardware virtualization to run XP mode?

1

0

I have a MacBook Pro and I've run VMware Fusion's unity mode and Parallels' cohesion mode along side the Mac OS X, and both work pretty seamlessly. I figured XP Mode in Windows 7 would be something similar, but I then learned my machine requires hardware virtualization support, which it does not have.

My machine is an HP dc7800. That's a dual core 2.2GHz machine with 4GBs of RAM. Certainly it has the horsepower to run a virtual environment alongside the primary OS.

I'm wondering:

1) Why Microsoft decided to make hardware virtualization a requirement

and

2) What am I missing? Is the experience similar to Parallel's cohesion mode / Fusion's unity mode?

Thanks!

Ken Pespisa

Posted 2009-07-30T02:03:55.423

Reputation: 569

Ill try running the image in Virtual Box and let you know – Ivo Flipse – 2009-07-30T06:43:46.460

It's nagging about permissions, but it does recognize it as a normal virtual hard disk. So I would suggest trying out Virtual Box (or whatever) to load it up. – Ivo Flipse – 2009-07-30T06:58:55.370

Answers

6

You can run SecurAble to determine if your machine has hardware Virtualization capabilities.

alt text

If your computer does not have that green tick then XP mode shouldn't work. You also require some extra resources to virtualize stuff as well.

Excerpt from GRC:

• How does Hardware Virtualization help with security?

“Virtual Machine” technology is used to create fully contained environments that can be used to insulate the real hosting operating system from any actions taken by software running within the “virtual” environment. Although this security benefiting virtual machine technology has been used for many years, its widespread adoption has been slowed down by the significant performance overhead imposed by software emulation of the virtual environment. Intel's and AMD's native hardware support for virtual machines means that virtually all of this emulation overhead can be eliminated from both the host and virtual environments. This makes the use of virtual machines for security containment much more practical.*

The second benefit of hardware support is that even malicious software running with maximum privileges in the system's kernel is unable to escape from virtual containment. Thus, hardware support for virtual machine technology introduces the possibility of creating a “hypervisor” to operate at a hardware-enforced level below the operating system “supervisor” which opens many exciting possibilities for further enhancing the system's security. It will likely be several years before these capabilities are offered natively within Windows, but we might expect to see third-party security software publishers taking advantage of these features in the near future.

To answer your questions:

1. From reading this I guess it requires HV due to security purposes.

2. Well if your missing HV then it isn't going to work.

Qwerty

Posted 2009-07-30T02:03:55.423

Reputation: 1 759

Thanks, that's the answer I was looking for. I do wish I could get it running without HV, even if it means a slightly riskier environment and slower PC, but knowing the reasons now helps me get over it. :) – Ken Pespisa – 2009-07-31T02:18:15.293

hardware virtualization no longer required http://www.zdnet.com/blog/microsoft/microsoft-removes-hardware-virtualization-barrier-to-running-xp-mode/5607

– steampowered – 2011-10-09T13:41:30.983

4

Hardware virtualization is no longer a requirement. For more info click here.

(Haven't tried it, since my machine does support Hardware virtualization)

sgmoore

Posted 2009-07-30T02:03:55.423

Reputation: 5 961

this is the correct answer! – tonyr roth – 2010-04-02T14:30:49.143

1

Windows 7's XP mode actually only consists of the license, I believe; you can run the hard disk in another VM solution. It recomends a specific version of Microsoft Virtual PC (big surprise!), which requires hardware virtualization. I do not know why this is required, but this article explains the UI well: http://blogs.zdnet.com/Bott/?p=896

Daniel H

Posted 2009-07-30T02:03:55.423

Reputation: 1 506

It recommends a specific version of Microsoft Virtual PC because said version was supposed to be on Windows Update... so was XP Mode. However, seeing as both are still a Release Candidate, they haven't been pushed to Windows Update yet. – Powerlord – 2009-09-21T13:28:39.477

0

  1. Because XP-mode is based on VirtualPC

  2. Yes, it's look like Unity from Fusion/VMware Workstation, but apps available from host system start menu and etc. Apps looks like not virtualized

MicTech

Posted 2009-07-30T02:03:55.423

Reputation: 9 888

0

Not really an answer to your question, but have you downloaded the XP Mode VHD?

You could just load it into VMWare probably and run it from there, at least it saves you the trouble of creating your own installation.

I'm verifying if it's possible right now

It seems I don't have permission to use the VHD in anything else than Virtual PC, so I guess you'll have to resort to creating your own Windows XP VHD for VMWare :-(

Ivo Flipse

Posted 2009-07-30T02:03:55.423

Reputation: 24 054

0

Not an answer - but I figured out how to manually hack my bios to enable hardware virtualization because I have a Sony Vaio, and Sony turn off Hardware virtualization, even though the hardware is capable of this - just a bios flag!

Perhaps instead of trying to figure out why MS made this a requirement. Might be time to find some google posts on manually applying a BIOS hack for your model of notebook, and enjoy the benefits of hardware virtualization.

In your case though - HP dc7800, seems like your system actively supports VT.

JL.

Posted 2009-07-30T02:03:55.423

Reputation: 5 578