From https://parisc.wiki.kernel.org/index.php/Qemu, “since QEMU version 2.12 (April 2018), qemu fully supports 32-bit hppa user emulation (hppa-linux-user) and 32-bit hppa system emulation (qemu-system-hppa)”, and “the emulated machine is a HP B160L desktop machine, with one or more 32-bit PA7100LC CPUs. The QEMU emulation is able to run Linux and HP-UX.”
See, also, "Running HP-UX 11.11 on qemu-system-hppa" for a pretty comprehensive walk-through.