Configuring an IBM PowerNV-9 FreeBSD QEMU guest

This will describe configuring an IBM PowerNV 9 QEMU guest.

Note this is under development and will expose some sharp edges.

Pre-reading

Pre-requisites

https://github.com/open-power/op-build/releases/ - if it's changed since jan 2026, you're looking for the "v2.7" release files.

Status

Setup

 $ qemu-img create -f qcow2 freebsd-16-ppc-powernv9-1.qcow2 8G

Configuration File

# -smp 2,thread=1,sockets=1,maxcpus=2

X_CDROM_FILE="../iso/FreeBSD-15.0-STABLE-powerpc-powerpc64le-20260101-785d429c2b93-281645-bootonly.iso"
X_DISK_FILE="freebsd-16-ppc-powernv9-1.qcow2"

ifconfig tap0 up
qemu-system-ppc64 -machine powernv9 \
        -cpu power9 \
        -m 2048M \
        -smp 2 \
        -nographic \
        -vga none \
        -kernel zImage.epapr \
        -append radix_mmu=1 \
        -initrd rootfs.cpio.xz \
        -device megasas,id=scsi0,bus=pcie.0,addr=0x0 \
        -drive file=${X_DISK_FILE},format=qcow2,id=drive0,if=none \
        -drive file=${X_CDROM_FILE},format=raw,readonly=on,id=cdrom0,if=none \
        -device scsi-hd,bus=scsi0.0,drive=drive0,channel=0,scsi-id=0,lun=0,bootindex=2 \
\
        -device pcie-pci-bridge,id=bridge1,bus=pcie.1,addr=0x0 \
        -device ich9-ahci,id=sata0,bus=bridge1,addr=0x1 \
        -device ide-cd,bus=sata0.0,unit=0,drive=cdrom0,id=ide,bootindex=1 \
        -device nec-usb-xhci,bus=bridge1,addr=0x7 \
        -netdev tap,ifname=tap0,script=no,id=net0 \
        -device e1000e,netdev=net0,mac=C0:FF:EE:00:00:02,bus=bridge1,addr=0x2 \

Known Issues


powerpc/QEMU/POWERNV9 (last edited 2026-01-20T21:32:55+0000 by AdrianChadd)