* From HUST OpenAtom Club: Inquiry & Contribution Plan for Rust In QEMU
@ 2025-10-20 10:56 Chao Liu(openatom.club)
2025-10-20 15:22 ` Paolo Bonzini
0 siblings, 1 reply; 3+ messages in thread
From: Chao Liu(openatom.club) @ 2025-10-20 10:56 UTC (permalink / raw)
To: pbonzini, zhao1.liu, manos.pitsidianakis, marcandre.lureau,
philmd
Cc: qemu-rust, qemu-devel, dzm91, luojia
Hi,
We are the OpenAtom Open Source Club[1] of Huazhong University of Science
and Technology(HUST). Recently, we have established a new group focusing
on the Rust In QEMU, aiming to make some contributions to the upstream.
Prior to this, we have already achieved some results in the field of
open-source basic software and education using Rust. For example, we
lead the development of RustSBI[2], an open-source firmware written in
Rust, that has been adopted as a reference implementation by the
RISC-V SBI Specification.
We also hosted a QEMU open-source learning training camp[3] in China,
with the number of registrants currently approaching 1,000. In the
training camp's curriculum system, we included contents related to
Rust for QEMU and continuously shared the latest progress of the
QEMU upstream.
We have reviewed the progress of Rust in the recent QEMU versions,
and the results are very encouraging. Rust is basically in a usable
state for QEMU peripheral modeling.
Our initial plan is to add Rust versions of peripheral models for some
simple peripherals, such as block devices or I2C devices.
In addition, we hope to get some other suggestions on what other suitable
work we can do regarding Rust In QEMU.
We look forward to your reply and hope to contribute to the Rust In QEMU~
Link:
[1] HUST OpenAtom Open Source Club:
https://hust.openatom.club/news/20250812_intro_to_club/
[2] RustSBI Github Repo:
https://github.com/rustsbi/rustsbi
[3] Learning QEMU Camp:
https://opencamp.cn/qemu/camp/2025
Thanks,
Chao
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: From HUST OpenAtom Club: Inquiry & Contribution Plan for Rust In QEMU
2025-10-20 10:56 From HUST OpenAtom Club: Inquiry & Contribution Plan for Rust In QEMU Chao Liu(openatom.club)
@ 2025-10-20 15:22 ` Paolo Bonzini
2025-10-22 15:51 ` Chao Liu(openatom.club)
0 siblings, 1 reply; 3+ messages in thread
From: Paolo Bonzini @ 2025-10-20 15:22 UTC (permalink / raw)
To: Chao Liu(openatom.club), zhao1.liu, manos.pitsidianakis,
marcandre.lureau, philmd
Cc: qemu-rust, qemu-devel, dzm91, luojia
On 10/20/25 12:56, Chao Liu(openatom.club) wrote:
> Our initial plan is to add Rust versions of peripheral models for some
> simple peripherals, such as block devices or I2C devices.
Yes, this is a good idea. I2C would add a second bus in addition to
sysbus and could show the limitation of the existing bindings.
Several simple devices in such hw/misc/i2c-echo.c, hw/gpio/pcf8574.c or
hw/rtc/ds1338.c could be converted to Rust in the same way as pl011 or hpet.
For now, avoid devices that have properties (e.g. hw/sensor/tmp105.c).
Block devices are substantially more complex, so I'd stay with something
simple for now.
Paolo
> In addition, we hope to get some other suggestions on what other suitable
> work we can do regarding Rust In QEMU.
>
> We look forward to your reply and hope to contribute to the Rust In QEMU~
>
>
> Link:
>
> [1] HUST OpenAtom Open Source Club:
> https://hust.openatom.club/news/20250812_intro_to_club/
> [2] RustSBI Github Repo:
> https://github.com/rustsbi/rustsbi
> [3] Learning QEMU Camp:
> https://opencamp.cn/qemu/camp/2025
>
>
> Thanks,
> Chao
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: From HUST OpenAtom Club: Inquiry & Contribution Plan for Rust In QEMU
2025-10-20 15:22 ` Paolo Bonzini
@ 2025-10-22 15:51 ` Chao Liu(openatom.club)
0 siblings, 0 replies; 3+ messages in thread
From: Chao Liu(openatom.club) @ 2025-10-22 15:51 UTC (permalink / raw)
To: Paolo Bonzini, zhao1.liu, manos.pitsidianakis, marcandre.lureau,
philmd
Cc: qemu-rust, qemu-devel, dzm91, luojia
On 10/20/2025 11:22 PM, Paolo Bonzini wrote:
> On 10/20/25 12:56, Chao Liu(openatom.club) wrote:
>> Our initial plan is to add Rust versions of peripheral models for some
>> simple peripherals, such as block devices or I2C devices.
>
> Yes, this is a good idea. I2C would add a second bus in addition to sysbus and could show the limitation of the existing bindings.
>
> Several simple devices in such hw/misc/i2c-echo.c, hw/gpio/pcf8574.c or hw/rtc/ds1338.c could be converted to Rust in the same way as pl011 or hpet.
>
> For now, avoid devices that have properties (e.g. hw/sensor/tmp105.c).
>
> Block devices are substantially more complex, so I'd stay with something simple for now.
>
> Paolo
>
Hi Paolo,
Thank you for your suggestions, which have been very helpful to us!
Currently, we are referring to the Rust implementation of sysbus to develop
the Rust version of I2CBus, and we have already made some phased progress.
Going forward, we will submit some RFC patches to the upstream for
everyone to discuss.
Thanks,
Chao
>> In addition, we hope to get some other suggestions on what other suitable
>> work we can do regarding Rust In QEMU.
>>
>> We look forward to your reply and hope to contribute to the Rust In QEMU~
>>
>>
>> Link:
>>
>> [1] HUST OpenAtom Open Source Club:
>> https://hust.openatom.club/news/20250812_intro_to_club/
>> [2] RustSBI Github Repo:
>> https://github.com/rustsbi/rustsbi
>> [3] Learning QEMU Camp:
>> https://opencamp.cn/qemu/camp/2025
>>
>>
>> Thanks,
>> Chao
>>
>>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-10-22 15:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-20 10:56 From HUST OpenAtom Club: Inquiry & Contribution Plan for Rust In QEMU Chao Liu(openatom.club)
2025-10-20 15:22 ` Paolo Bonzini
2025-10-22 15:51 ` Chao Liu(openatom.club)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).