[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] ppc/pnv: Create BMC devices at machine init
From: |
Cédric Le Goater |
Subject: |
Re: [PATCH v2] ppc/pnv: Create BMC devices at machine init |
Date: |
Sat, 4 Apr 2020 17:46:58 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
Hello Nathan,
Some comments on the command line.
> $ timeout 3m unbuffer qemu-system-ppc64 -device ipmi-bmc-sim,id=bmc0 \
> -device isa-ipmi-bt,bmc=bmc0,irq=10 \
> -L images/ppc64le/ \
> -bios skiboot.lid \
> -machine powernv \
powernv8 or powernv9 specifies the POWER chip.
> -display none \
I use -nograpĥics.
> -initrd images/ppc64le/rootfs.cpio \
> -kernel zImage.epapr \
> -m 2G \
you can add adapters now on QEMU-5.0:
-device ich9-ahci,id=sata0,bus=pcie.1,addr=0x0 \
-drive
file=./ubuntu-ppc64le-powernv.qcow2,if=none,id=drive0,format=qcow2,cache=none \
-device ide-hd,bus=sata0.0,unit=0,drive=drive0,id=ide,bootindex=1 \
-device e1000e,netdev=net0,mac=C0:FF:EE:00:01:03,bus=pcie.2,addr=0x0 \
-netdev bridge,helper=/usr/libexec/qemu-bridge-helper,br=virbr0,id=net0
you can also add :
-drive file=./witherspoon.pnor,format=raw,if=mtd
to map a PNOR on the LPC address space.
I have sent a patch fixing the issue you reported but you will need to
add -nodefaults now. I think this is the good direction. It would be
interesting for me if you could test it.
Thanks,
C.