I no longer work for IBM so I can't be sure, but I'm not aware of virtio support in AIX 7.1.
As said in another comment, the "Unimplemented SPAPR hcall 0x00000000000002b8" trace reflects that QEMU doesn't implement PEM (Partition Energy Management) as described in section 14.14 of LoPAPR. I can't tell if this causing the crash of the AIX kernel, but I'd suggest you try with AIX 7.2. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1846816 Title: Booting error on AIX 6.1 "Illegal Trap Instruction Interrupt in Kernel"" Status in QEMU: New Bug description: # ls -ltr total 8750584 -rw-rw-r-- 1 linux linux 4274997248 Oct 4 18:33 AIX.vol1.iso -rw-rw-r-- 1 linux linux 4293888000 Oct 4 18:45 AIX.vol2.iso -rw-rw-r-- 1 linux linux 391485440 Oct 4 18:50 AIX.vol3.iso -rw-r--r-- 1 root root 204608 Oct 4 19:00 AIX61.img # qemu-system-ppc64 -cpu POWER8,compat=power7 -machine pseries -m 8192 -serial mon:stdio \ > -drive file=/qemu/AIX61.img,if=none,id=drive-virtio-disk0 \ > -device virtio-scsi-pci,id=scsi -device scsi-hd,drive=drive-virtio-disk0 \ > -cdrom /qemu/AIX.vol1.iso \ > -prom-env boot-command='boot cdrom: -s verbose' VNC server running on ::1:5900 qemu-system-ppc64: warning: TCG doesn't support requested feature, cap-ibs=workaround SLOF ********************************************************************** QEMU Starting Build Date = Jul 3 2019 12:26:14 FW Version = git-ba1ab360eebe6338 Press "s" to enter Open Firmware. Populating /vdevice methods Populating /vdevice/vty@71000000 Populating /vdevice/nvram@71000001 Populating /vdevice/l-lan@71000002 Populating /vdevice/v-scsi@71000003 SCSI: Looking for devices 8200000000000000 CD-ROM : "QEMU QEMU CD-ROM 2.5+" Populating /pci@800000020000000 00 0000 (D) : 1234 1111 qemu vga 00 0800 (D) : 1033 0194 serial bus [ usb-xhci ] 00 1000 (D) : 1af4 1004 virtio [ scsi ] Populating /pci@800000020000000/scsi@2 SCSI: Looking for devices 100000000000000 DISK : "QEMU QEMU HARDDISK 2.5+" Installing QEMU fb Scanning USB XHCI: Initializing USB Keyboard USB mouse No console specified using screen & keyboard Welcome to Open Firmware Copyright (c) 2004, 2017 IBM Corporation All rights reserved. This program and the accompanying materials are made available under the terms of the BSD License available at http://www.opensource.org/licenses/bsd-license.php Trying to load: -s verbose from: /vdevice/v-scsi@71000003/disk@8200000000000000: ... Successfully loaded qemu-system-ppc64: Couldn't negotiate a suitable PVR during CAS AIX StarLED{814} AIX Version 6.1 exec(/etc/init){1,0} INIT: EXECUTING /sbin/rc.boot 1 exec(/usr/bin/sh,-c,/sbin/rc.boot 1){1114146,1} exec(/sbin/rc.boot,/sbin/rc.boot,1){1114146,1} + PHASE=1 + + bootinfo -p exec(/usr/sbin/bootinfo,-p){1179684,1114146} PLATFORM=chrp + [ ! -x /usr/lib/boot/bin/bootinfo_chrp ] + [ 1 -eq 1 ] + 1> /usr/lib/libc.a + init -c unlink /usr/lib/boot/bin/!(*_chrp) exec(/etc/init,-c,unlink /usr/lib/boot/bin/!(*_chrp)){1179686,1114146} + chramfs -t exec(/usr/sbin/chramfs,-t){1179688,1114146} + init -c unlink /usr/sbin/chramfs + 1> /dev/null exec(/etc/init,-c,unlink /usr/sbin/chramfs){1179690,1114146} + + bootinfo -t exec(/usr/sbin/bootinfo,-t){1179692,1114146} BOOTYPE=3 + [ 0 -ne 0 ] + [ -z 3 ] + unset pdev_to_ldev undolt native_netboot_cfg + unset disknet_odm_init config_ATM + /usr/lib/methods/showled 0x510 DEV CFG 1 START exec(/usr/lib/methods/showled,0x510,DEV CFG 1 START){1179694,1114146} + cfgmgr -f -v exec(/usr/sbin/cfgmgr,-f,-v){1179696,1114146} cfgmgr is running in phase 1 ---------------- Time: 0 LEDS: 0x538 Invoking top level program -- "/etc/methods/defsys" exec(/bin/sh,-c,/etc/methods/defsys ){1245222,1179696} exec(/etc/methods/defsys){1245222,1179696} exec(/bin/sh,-c,/usr/lib/methods/define_rspc -n -c sys -s node -t chrp){1310760,1245222} exec(/usr/lib/methods/define_rspc,-n,-c,sys,-s,node,-t,chrp){1310760,1245222} Time: 0 LEDS: 0x539 Return code = 0 ***** stdout ***** sys0 *** no stderr **** ---------------- Attempting to configure device 'sys0' Time: 0 LEDS: 0x811 Invoking /usr/lib/methods/cfgsys_chrp -1 -l sys0 exec(/bin/sh,-c,/usr/lib/methods/cfgsys_chrp -1 -l sys0){1245224,1179696} Number of running methods: 1 exec(/usr/lib/methods/cfgsys_chrp,-1,-l,sys0){1245224,1179696} LED{A20} Illegal Trap Instruction Interrupt in Kernel 04151A74 tweqi r0,0 r0=0 KDB(0)> To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1846816/+subscriptions