(This is a guest post by Tenox)
Recently I showed HP-UX 9.x and 10.20 on QEMU w/Apps. 11i v1 and v2 also run on the 64-bit C3700 that Helge Deller added to QEMU. But HP-UX 11i v3 (11.31) would not boot. On PA-RISC it only runs on zx1 class servers, and none of the emulated machines looked like one. And upstream QEMU has no Itanium at all.
Today it’s a double feature: HP-UX 11i v3 on PA-RISC and ITANIUM (IA64) both work in LEMU, a QEMU fork for legacy systems!
PA-RISC! HP-UX 11.31 runs on the emulated HP A400:
- zx1 mode for the A400!
-M A400,pluto=onshows its bus adapter as a zx1 (Pluto), which 11.31 wants. - New SCSI card and serial port fix. A 53C875 SCSI card that the 11.31 driver takes, and a serial port fix for a kernel panic.
- Floating point bug fixed! The event manager (evmd) crashed at every boot. The bug was in QEMU’s PA-RISC CPU, so every hppa machine gets the fix.
- CDE on an emulated ATI Radeon 7500! The 11.31 X server has no driver for HP’s own graphics, but it has a Radeon driver. The colours, the mouse cursor and a jumping pointer are fixed too.
- CPU idle detection! HP-UX’s idle loop just spins. LEMU detects it and halts the CPU instead. On my Mac the idle CDE desktop now uses about 5% of one host core, not a whole core.
Behold! HP-UX 11i v3 in 1280×1024 on an emulated HP A400-44 with a PA-8700 CPU and an ATI Radeon 7500:

Specs: HP A400-44 (9000/800), PA-RISC 8700, 4GB RAM, ATI Radeon 7500 1280x1024, LSI 53C875 SCSI, Tulip LAN, USB keyboard and mouse
Install media: the HP-UX 11i v3 Mission Critical OE (MCOE) DVDs of June 2007 (hp-ux-11.31-mcoe-06.2007), then update-ux to the Data Center OE (DC-OE) of May 2020, B.11.31.2005, with the May 2020 patch bundles. CDE included.
Itanium! The Itanium CPU, the HP rx2660 machine and its EFI firmware come from syunnPC’s qemu-system-ia64, which already booted HP-UX 11i v3 and OpenVMS 8.4. LEMU added CDE on the emulated ATI ES1000 with a USB mouse, the rx2660 model name, and a fix for a SAS boot stall. No HP or Intel firmware is needed.
And here is HP-UX 11i v3 in 1280×1024 on an emulated HP Integrity rx2660 with an Itanium 2 9000 series (Montecito) CPU and an ATI ES1000:

Specs: HP Integrity rx2660, Itanium 2 9000 series 1.6 GHz, 4GB RAM, ATI ES1000 1280x1024, LSI SAS1068, Broadcom BCM5704 LAN, USB keyboard and mouse
Install media: the HP-UX 11i v3 MCOE DVDs of June 2007 (hp-ux-11.31-mcoe-06.2007), B.11.31 as first released in February 2007, with CDE and no patch bundles. HP-UX for Itanium can halt an idle CPU by itself: the image sets the tunable idle_cpu_hint_enable=1, so the idle loop calls PAL_HALT_LIGHT and QEMU halts the CPU. The idle CDE desktop uses about 7% of one host core.
The PA-RISC image has more under the hood: gcc, g++ and gfortran 4.0.2, gdb 5.5 (HP WDB), bash 5.0, GNU make 4.2.1, and GNU tar, sed, grep, gawk, less and coreutils.
As usual I have prepared ready to run, portable images with QEMU binaries for macOS (Apple Silicon), Linux and Windows. Just unpack and run run.sh (or run.cmd on Windows). The CDE login comes up in about 4 minutes. Log in as root, no password. Graphics console: the window shows the boot messages, then the CDE login. On PA-RISC, CONSOLE=serial ./run.sh puts the boot messages and the console login in the terminal instead. On Itanium the terminal has a login of its own. To halt, run reboot -h (PA-RISC) or shutdown -h -y 0 (Itanium).
PA-RISC: hpux11v3a400-lemu.tar.lz
Itanium: hpux11v3rx2660-lemu.tar.lz
Also new: HP-UX 11i v2 (11.23) on the C3700, B.11.23.0712 (December 2007) with the December 2010 patch bundles: hpux11v2c3700-lemu.tar.lz
Source (LEMU, my QEMU fork): https://github.com/tenox7/lemu
Have Fun with Virtualization!
PS You may also be interested in Installing HP-UX 11i v1 (11.11) 32bit PA1.1 on QEMU 10.1