IC SunsetThe developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this blog will no longer be available. More details available on our FAQ.

Comments (2)
  • Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

Comments (2)

nealelliott commented Oct 13 Comment Permalink

Thanks for posting this information. Your combined steps worked great! Now I'm going to see if I can run it on either my Google gce, or my aws ec2 as a hypervisor. Technically I could run AIX on AWS. Pretty cool!

Xiao Hong Tao commented Jan 10 Comment Permalink

Hi Chris,

Thanks for the sharing, I tried it on my Mac and it worked fine.
I used below -net user,hostfwd option, and set en0's IP address as 10.0.2.15 on guest AIX, and then I could ssh to guest AIX from my Mac.

qemu-system-ppc64 -cpu POWER8 -machine pseries -m 2048 -serial mon:stdio \
-drive file=AIX72.img,if=none,id=drive-virtio-disk0 \
-device virtio-scsi-pci,id=scsi -device scsi-hd,drive=drive-virtio-disk0 \
-cdrom AIX723SP1.iso \
-net nic -monitor telnet:localhost:7777,server,nowait \
-net user,hostfwd=tcp::2222-:22 \
-prom-env boot-command='boot disk:'

$ ssh -p 2222 root@localhost

And I could login the qemu monitor interface.

$tn localhost 7777
(qemu) info status
VM status: running
(qemu) info usernet
Hub 0 (user.0):
Protocol[State] FD Source Address Port Dest. Address Port RecvQ SendQ
TCP[ESTABLISHED] 33 127.0.0.1 2222 10.0.2.15 22 0 0
TCP[HOST_FORWARD] 17 * 2222 10.0.2.15 22 0 0

Thanks,
Regards,
Surge