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

Andrew Jeffery andrew at aj.id.au
Tue Oct 8 11:03:34 AEDT 2019



On Sat, 5 Oct 2019, at 04:02, Brandon Wyman wrote:
> 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?
>

Are you talking about the upstream documentation? If so, why would upstream
qemu documentation be talking about IPMI?

As for the OpenBMC documentation, it's probably worth a mention, and
patches accepted :)

Andrew


More information about the openbmc mailing list