Re: how the openbmc running in qemu communicate with the operating system running in another qemu via KCS/BT?

Andrew Jeffery andrew at aj.id.au
Fri Dec 20 08:22:19 AEDT 2019



On Thu, 19 Dec 2019, at 18:55, 南野ムルシエラゴ wrote:
> Greetings!
> 
> I am a learner of openbmc, for some reason I do not have a real BMC nor 
> a real server, I run openbmc in qemu. Recentlly I want to learn how BMC 
> communicate with HOST System. But it seems qemu can not emulate this 
> scenario. 
> Can someone help tell me:
> Is there a mechanism allow me to run openbmc in qemu1 and at the same 
> time run OS in qemu2. And let qemu1 run as the qemu2's BMC hardware and 
> communicate via KCS or BT interface? Like the following sequence:
> [qemu1 [openbmc [bt-bmc]]]<------LPC-------->|-----system 
> IPC-----|<------LPC-------->[[[ipmi_si] host] qemu2]
> And what can I do?
> I have seen there is some code in qemu source code:
> qemu/hw/ipmi/*
> and in linux-5.3 source code:
> drivers/char/ipmi/*
> Dose this can help mitigate my problem?
> 

Liu Hongwei: Cédric has done this for Power hosts in the past, I've added him
on To:, hopefully give you some pointers.

(Cédric maintains our ASPEED QEMU models as well as the Power QEMU
models).

Andrew


More information about the openbmc mailing list