[[!meta title="NetBSD/hppa under QEMU"]] This page attempts to document running NetBSD/hppa under the [QEMU](http://www.qemu.org/) open source processor emulator. This can be extremely useful for development and testing. # Requirements * mainstream qemu 5.2.0 or higher * pkgsrc qemu 4.0.0nb2 or higher * ISO image * [NetBSD 9.x hppa](https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/images/NetBSD-9.1_STABLE-hppa.iso) # Installing QEMU on NetBSD You can install latest qemu with the following commands. It is assumed that your pkgsrc tree is in /usr/pkgsrc directory. # cd /usr/pkgsrc/emulators/qemu # make install # Creating a disk image qemu-img create -f qcow2 hdd.img 2G # change size # Booting the system from ISO image for install $ qemu-system-hppa \ -drive file=hdd.img \ -drive file=NetBSD-9.1_STABLE-hppa.iso,media=cdrom \ -boot order=d \ -nographic # Booting the system post install $ qemu-system-hppa \ -drive file=hdd.img \ -drive file=NetBSD-9.1_STABLE-hppa.iso,media=cdrom \ -nographic