Re: 回复: how can i use ipmitool to interact with openbmc which boot from qemu-system-arm

Brandon Wyman bjwyman at gmail.com
Sat Oct 5 04:32:47 AEST 2019


On Sun, Sep 29, 2019 at 9:06 PM Andrew Jeffery <andrew at aj.id.au> wrote:
>
> Hello Liu,
>
> On Sun, 29 Sep 2019, at 17:04, 南野ムルシエラゴ wrote:
> > Dear Mr. Andrew and openbmc:
> >
> > Thanks a lot for your helping.
> > because ipmitool use udp, so my previous changes for qemu cmdline are
> > not right. i change it as follows:
> >
> > #qemu-system-arm -m 256 -M palmetto-bmc -nographic -drive
> > file=/home/openbmc/openbmc/build/tmp/deploy/images/palmetto/obmc-phosphor-image-palmetto-20190926123057.static.mtd,format=raw,if=mtd -net nic -net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostfwd=udp:127.0.0.1:2623-:623,hostname=qemu
> >
> > change "hostfwd=:127.0.0.1:2623-:623" to "hostfwd=udp:127.0.0.1:2623-:623".
> >
> > and i run:
> > #ipmitool -H 127.0.0.1 -I lanplus -p 2623 -U root -P 0penBmc power status
> > and i got:
> > Chassis Power is off
> >
> > it seems ipmitool works well together with qemu^_^.
>
> Awesome! Also, thanks for following up your questions with the solution,
> that's a great help to others who might try to do the same thing.
>
> Andrew

Interesting. I am curious why the QEMU readme or wiki pages do not
have a note about how to forward ipmitool traffic. Is that something
that should be updated on a wiki or doc?


More information about the openbmc mailing list