Note: if you have an Intel cpu with FlexPriority, or if you are running kvm-58 or higher, you can ignore this.

Working around a slow Windows virtual machine due to ACPI

If your Windows installation is set to use ACPI (this is the default), kvm can be quite slow or not work at all. This is due to Windows heavily using a register that has a very large virtualization penalty.

Fortunately, there is a simple workaround available: disable ACPI support in Windows. The procedure for doing this is:

  1. Select "My Computer" with the right mouse button.
  2. Select "Properties".
  3. Choose the "Hardware" tab.
  4. Click the "Device Manager" button.
  5. Select the entry under "Computer" with the right mouse button. If it says "Standard PC", then there's no need to do anything.
  6. Select "Properties"
  7. Click the "Update Driver" button.
  8. Choose "No, not this time" and click "Next".
  9. Choose "Install from a list" and click "Next".
  10. Choose "Don't search" and click "Next".
  11. Click "Next".
  12. Choose "Standard PC" and click "Next".
  13. Continue clicking "Next" and reboot the virtual machine.

If you're installing Windows XP/2000, you can get it to use the Standard PC HAL by pressing F7 when it asks for drivers ("Press F6 for..."), there is no visual indication. If you would rather select the right HAL from a list visually then press F5 instead.

Blue Screen of Death with Standard PC HAL

On the first reboot you may encounter a BSOD with a message stating that something is wrong with intelppm.sys or processor.sys. While this message may disappear after a reboot, it is not always the case so you will have to apply the working workaround:

   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Processor
   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Intelppm

(source http://blogs.msdn.com/virtual_pc_guy/archive/2005/10/24/484461.aspx)

Windows ACPI Workaround (last edited 2007-12-30 16:55:15 by AviKivity)