23 November 2017

Qemu for Windows XP

QEMU provide binaries for windows at https://qemu.weilnetz.de/w32/
But around version 2.8 (the builds is snapshot based) it was dropped XP support  (supposedly version 2.9 when it switched to SRWLOCK mutex thread)

I build recent qemu version that compatible with XP (32-bit) by reverting the threading model to 2.8.x version.

The build is LAA (bigmem) and fully static binary
https://sourceforge.net/projects/xpitory/files/qemu/

HAXM maybe possible using http://software.intel.com/sites/default/files/haxm-windows_r05.zip note that the installer itself wrongly flagged as NT6 executable! but you can open it using 7-zip and then use the hax.msi to install (only for XP32)

This post (and hopefully much more) will be part of XP revival effort which started at github https://github.com/tumagonx/XPitory (apparently not a viable option for long term use so I move to SF).

2 comments:

  1. Custom Qemu 32-bit 2.10.1 works on WinXP 32-bit and on WinXP x64 but I can't run HAXM acceleration on ThinkPad X220 in WinXP SP2 64-bit. I tested many the HAXM drivers from Vista x64 on WinXP x64 and it works but error Qemu 2.10.1:

    6.0.3: Incompatible HAX module version 3,requires minimum version 4
    6.0.2: Incompatible HAX module version 3,requires minimum version 4
    6.0.1: Incompatible HAX module version 3,requires minimum version 4
    6.0.0: Incompatible HAX module version 3,requires minimum version 4
    1.1.9: Incompatible HAX module version 3,requires minimum version 4
    1.1.5: UG mode is not supported by the hardware

    Using Linux, I checked UG (Unrestricted Guest) support on X220 and result 1=YES:

    modprobe msr
    rdmsr --bitfield 5:5 0x485
    1

    but HAXM in this custom Qemu not work :-( :-( :-(

    ReplyDelete