So why the QEMU documentation states in this way ?

Use the executable ‘qemu-system-ppc’ to simulate a complete PREP or PowerMac PowerPC system.

QEMU emulates the following PowerMac peripherals:

QEMU emulates the following PREP peripherals:

QEMU uses the Open Hack’Ware Open Firmware Compatible BIOS available at http://perso.magic.fr/l_indien/OpenHackWare/index.htm.

Since version 0.9.1, QEMU uses OpenBIOS http://www.openbios.org/ for the g3beige and mac99 PowerMac machines. OpenBIOS is a free (GPL v2) portable firmware implementation. The goal is to implement a 100% IEEE 1275-1994 (referred to as Open Firmware) compliant firmware.

The following options are specific to the PowerPC emulation:

-g WxH[xDEPTH]

Set the initial VGA graphic mode. The default is 800x600x15.

-prom-env string

Set OpenBIOS variables in NVRAM, for example:

 
qemu-system-ppc -prom-env 'auto-boot?=false' \
 -prom-env 'boot-device=hd:2,\yaboot' \
 -prom-env 'boot-args=conf=hd:2,\yaboot.conf'

These variables are not used by Open Hack’Ware.

More information is available at http://perso.magic.fr/l_indien/qemu-ppc/.


Thanks, sorry and ciao


2010/9/16 Laurent Vivier <Laurent@vivier.eu>
 
> OK, maybe I make a mistake. It's not a problem.
> My goals is to run AIX 4.3, 5.1 and 6.1 on QEMU!!!!!.
> Can you help me? What you suggest? 
> I think there is a lot of confusion ( I also make confusion).
> How I can run QEMU to "emulate" CHRP platform ?

By default, qemu-system-ppc emulates a CHRP.

To run AIX 4.3 and 5.1 you can use a 32bit machine (qemu-system-ppc), to run AIX 6.1 you need a 64bit machine (qemu-system-ppc64).

But to be able to run AIX, there are some improvements to add:
- to OpenBIOS: at least RTAS is missing.
- to qemu: emulate hardware supported by AIX (disk controller, network interface, graphic card, ...)

As said before: patches are welcome...

Regards,
Laurent
--
--------------------- Laurent@vivier.eu  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard

--
OpenBIOS                 http://openbios.org/
Mailinglist:  http://lists.openbios.org/mailman/listinfo
Free your System - May the Forth be with you



--
Cordiali Saluti/Best Regards

Massimo Montecchi
Modena - Italy