(This is a guest post by Antoni Sawicki aka Tenox)
Last year I wrote about installing HP-UX 11.11 on QEMU. Time to go back in time!
HP-UX 10.20 has run in QEMU for a while (see openpa.net), but slow and on one CPU. 9.05 and 9.07 did not run at all, until last week when Helge Deller and Keith Monahan got 9.05 booting on the 715. I picked it up from there in LEMU, my QEMU fork, and fixed whatever was still broken:
- Idle CPU! HP-UX never halts the CPU, its idle loop just spins. LEMU detects it and puts the vCPU to sleep. 9.05 went from 93% of a host core to 2%, 10.20 with 4 CPUs from 400% to 3%.
- 4 CPUs on 10.20, each on its own host core. Fork and exec were 4x slower on 4 CPUs than on 1, fixed.
- No more
-d nochainfrom the 11.11 post, about 3x faster. - VUE login often never came up on a fast host: the X server divided by zero in its timer calibration. Paced now.
- Graphics artifacts: FrameMaker text was unreadable, Battalion had wrong colours and streaks, closed windows left bits of their frames behind, the cursor leaked pixels to the left edge, PEX crashed QEMU.
- FPU: Netscape hung at start,
fmpyaddgave wrong results, 10.20 panicked on 4 CPUs. - SoftPC died with “Internal error (Signal 04)”, now boots MS-DOS with VGA graphics.
- SCSI and LAN on the 715 fixed for 9.x, and snapshots work.
Behold! HP-UX 9.05 with HP VUE 3.0 on an emulated HP 9000/715:

Specs: HP 9000/715, PA-7100LC, 128MB RAM, Artist 1280x1024, NCR710 SCSI, i82596 LAN
9.07 works too:

And HP-UX 10.20 on an emulated HP B160L with 4 CPUs:

Specs: HP B160L, 4 x PA-7300LC, 512MB RAM, Artist 1280x1024, Tulip LAN
Let’s look at some cool apps! First HP-UX 9.05:







And HP-UX 10.20:








Ready to run, portable images for macOS (Apple Silicon), Linux (x86_64, aarch64) and Windows x64. Unpack and run run.sh or run.cmd. Login root, no password on 9.x, root / root on 10.20.
- HP-UX 9.05: https://files.42718.net/mirror/tenox/os/hpux/Qemu/hpux905-715-lemu.tar.lz
- HP-UX 9.07: https://files.42718.net/mirror/tenox/os/hpux/Qemu/hpux907-715-lemu.tar.lz
- HP-UX 10.20: https://files.42718.net/mirror/tenox/os/hpux/Qemu/hpux1020b160l-lemu.tar.lz
Gory details: https://github.com/tenox7/lemu/tree/master/machines/hppa
Have Fun with Virtualization!