What I don't understand is ppc64 for IBM machine emulation, but qemu ppc64 can't support AIX most of the time, but can support Linux on power very well.
and it got:
[root@192 emu]# ./aix51
VNC server running on ::1:5900
qemu-system-ppc64: warning: TCG doesn't support requested feature, cap-cfpc=workaround
qemu-system-ppc64: warning: TCG doesn't support requested feature, cap-sbbc=workaround
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.
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: ...
and just hung there, took lots of CPU time, never proceed further.
AIX 5.1 is quite a bit older than POWER8, so I don't think that it will run with this processor anymore. You could try "power5" or "970fx" as CPU (maybe even the "40p" machine instead of "pseries"), but I guess it won't make a big difference - the QEMU pseries machine has been written for later operating systems in mind, there was never a big effort to get older operating systems running with it.
SLOF **********************************************************************
QEMU Starting
Build Date = Jul 3 2019 12:26:14
FW Version = git-ba1ab360eebe6338
Press "s" to enter Open Firmware.
Answering comment #4:
> What I don't understand is ppc64 for IBM machine emulation, but qemu ppc64
> can't support AIX most of the time, but can support Linux on power very well.
QEMU doesn't implement the full PAPR specification. Historically we've only
added the bits that are essential for a Linux guest to be happy.
AIX 5.1 is fairly old and neither IBM, nor the QEMU community invested time
and effort in getting it to work under QEMU. AIX being a closed source OS
certainly didn't help things to go forward.
Things have changed recently though. IBM added virtio drivers and some
workarounds to AIX, as well some fixes to QEMU. Latest AIX 7.2 releases
should now be able to run under QEMU with a POWER8 or newer CPU model.
Did this ever worked?