This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
aix:aix_simulator_x86_qemu [2021/01/01 21:24] 127.0.0.1 external edit |
aix:aix_simulator_x86_qemu [2024/08/27 23:53] (current) manu [Test 08/2024] |
||
---|---|---|---|
Line 31: | Line 31: | ||
===== Boot AIX on x86 using QEMU using diag CDROM ===== | ===== Boot AIX on x86 using QEMU using diag CDROM ===== | ||
- | Step 1: Download the AIX 7.2 Standalone Diagnostics disk from IBM .https://www-304.ibm.com/webapp/set2/sas/f/diags/download/home.html\\ You want CD72220.ISO. | + | Step 1: Download the AIX 7.2 Standalone Diagnostics disk from IBM \\ |
+ | https://www.ibm.com/support/pages/standalone-diagnostics-cd-overview-and-download\\ | ||
+ | You want CD73220.iso | ||
Step 2: (optional) If you want the Diagnostics disk to give you an AIX shell prompt instead of running diagnostics, apply this patch to your ISO file: | Step 2: (optional) If you want the Diagnostics disk to give you an AIX shell prompt instead of running diagnostics, apply this patch to your ISO file: | ||
Line 149: | Line 151: | ||
My disk.img (or aix-hdd.qcow2) is a standard qcow2 compressed image format (100 G) | My disk.img (or aix-hdd.qcow2) is a standard qcow2 compressed image format (100 G) | ||
qemu-img create -f qcow2 aix-hdd.qcow2 100G | qemu-img create -f qcow2 aix-hdd.qcow2 100G | ||
+ | |||
+ | ==== Test 08/2024 ===== | ||
+ | |||
+ | |||
+ | Format the disk in thin provisionning | ||
+ | |||
+ | root@manu-Latitude-5480:/home/manu/Downloads# qemu-img create -f qcow2 aix73.qcow2 50G | ||
+ | |||
+ | root@manu/home/manu/Downloads# qemu-system-ppc64 -cpu POWER9 -machine pseries -m 2048 -serial stdio \ | ||
+ | -drive file=aix73.qcow2,if=none,id=drive-virtio-disk0 \ | ||
+ | -device virtio-scsi-pci,id=scsi -device scsi-hd,drive=drive-virtio-disk0 \ | ||
+ | -cdrom cd_diag73220.iso \ | ||
+ | -netdev tap,id=n1 -device virtio-net,netdev=n1 \ | ||
+ | -prom-env boot-command='boot disk: -s verbose' | ||