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
>>
>>
>

Reply via email to