Posts Tagged ‘xp mode’

Hyper-v dynamic memory & Windows Virtual PC without hardware assisted virtualization



Great news these days from Microsoft Virtualization:

  1. Dynamic Memory allocation will be feature of new Service Pack for Hyper-V R2.
  2. Windows Virtual PC and XP Mode will run now on computers that don’t have hardware virtualization capabilities.

Surely those news are great, so let’s take a closer look what they actually mean

Dynamic Memory in Hyper-V

How memory works now in Hyper-V? Well high level description would be something like this: when you are creating virtual machines you assign some amount of memory to them and that’s it. Later on you can decide to assign more/less memory and then you should turn off virtual machine and do what you planned. Also with static memory assignment if you have Hyper-V host with 4Gb of RAM, and you plan to have 4 virtual machines with 1GB each, you could not start fourth virtual machines because lack of memory. That’s the main thing about static memory assignment – when you assign memory to virtual machine it will consume all that assigned memory from host, although current state of virtual machine only need half of that. So if you assigned 512 MB of RAM to virtual machine and while powered on that virtual machine only needs 256 MB of RAM, it will still consume whole 512 MB of RAM from the host. Ok, that is clear now, so let’s take a look how will dynamic memory assignment look like.

Although it is not yet completely disclosed, with dynamic memory you could assign more RAM to virtual machines and by that achieve better Hyper-V host utilization. So you could probably assign memory by using min and max values. Let’s describe that in particular scenario. Again, let’s take 4 virtual machines and host with 4 GB of RAM. With dynamic memory allocation you could assign to virtual machine memory with 512 RAM as minimum value and 1024 as maximum value. When you attempt to start virtual machines they would take as much memory as they need (512 or more), and other memory will be free in memory pool. In that scenario Hyper-V will manage further memory allocations based on virtual machine needs. So in some moment of time , one virtual machine would need 1024 MB, and Hyper-V will automatically assign that amount of memory. So, as you can see in this basic scenario, with dynamic memory, Hyper-V will be much more efficient.

 XP mode without Hardware virtualization

A lot of users wanted to try XP mode, but they couldn’t because they didn’t have computers with hardware virtualization support (a.k.a  Intel VT or AMD-V CPU). Now, those users also can try XP mode and for example use Internet Explorer 6 on Windows 7 as I described on one previous post.  If you would like to try Windows Virtual PC and XP mode and you don’t have hardware assisted virtualization, download update from Microsoft here (x86) or here (x64).

Internet Explorer 6 with Windows 7 and XP mode

Internet Explorer 6 and 8 on Windows 7Nowadays XP mode is getting very popular because it is really useful feature of Windows 7, especially in enterprise business environment. Simply said with XP mode you can run fully licensed version of Windows XP along with Windows 7. Of course this Windows XP is virtualized and it has different features and possibilities than standard virtual XP with earlier versions of Virtual PC. Now with Windows Virtual PC beta, you have a great feature with seamlessly integrated applications installed in virtual Windows XP. So, with Windows Virtual PC beta (XP mode), shortcuts of application installed in virtual Windows XP, appear in your host Windows 7, as if  applications were installed  locally.  Of course you can see whole virtual Windows XP with start menu and desktop or you can only see applications.  All that said, it is clear that XP mode is similar to Microsoft Enterprise Desktop Virtualization (MED-V), but MED-V of course has more features like centralized management, various policies etc…

OK, so how can you publish application shortcuts of applications installed in virtual Windows XP, to your Windows 7 host. Well it is really very simple. All you have to do is install application as you normally would, in your Windows XP. For example, download one simple application, save it to Windows 7 desktop and then copy it to Windows XP desktop. Shared folders now work great with Windows Virtual PC beta, so you can navigate to any Windows 7 folder and copy application to Windows XP workspace. After that, just install application normally and you are done – application shortcuts are published by default to Windows 7 start menu in folder Windows Virtual PC >Virtual Windows Xp applications. So the procedure for newly installed applications is really simple, but what with Internet Explorer 6 that is already part of Windows Xp?

All you have to do in this case, is even easier.  Just create shortcut for Internet Explorer, in virtual Windows XP in following folder:  C:\Documents and Settings\All Users\Start Menu. Same procedure works for XP command prompt, Outlook Express, My Documents etc… So after that, Internet Explorer 6 shortcut is published in Windows 7 start menu, and Internet Explorer is seamlessly integrated in Windows 7 as you can see in following picture.Windows 7 with IE6

Download Windows Virtual PC beta, and virtual image of Windows XP for free here and try it for yourself, it is rather simple.