UFS in FEMU

34 views
Skip to first unread message

Seokhwan Kim

unread,
Aug 2, 2023, 5:48:56 AM8/2/23
to hanbi...@google.com, curtisg...@google.com, c...@google.com, stora...@fuchsia.dev, rip...@google.com, Jeuk Kim, Jaeyoon Choi, Dongjin Kim

Hi all,


I'm writing you to inform that UFS emulator has been merged in upstream QEMU last week, (https://lore.kernel.org/qemu-devel/?q=ufs) and it seems that the next release of QEMU will include the UFS device. The current UFS emulator supports UFS v3.1, and we'll continue to maintain it to support the latest UFS features. 

We hope that FEMU includes the UFS emulator for integration testing of ufs driver in Fuchsia once the next version of QEMU is released. Please share your opinion.


My recommendation here is to not bother with FEMU, which is based on AEMU, which in turn is based on a very old version of QEMU. We’re looking to align with upstream QEMU, and it’ll be possible to run installation tests using the upstream QEMU once there’s a released version that includes the UFS device simulation (and then we manually update the QEMU binary in Fuchsia).
 
Thanks.
 
Han


Thanks,

Seokhwan

HanBin Yoon

unread,
Aug 8, 2023, 2:43:03 PM8/8/23
to sukk...@samsung.com, curtisg...@google.com, c...@google.com, stora...@fuchsia.dev, rip...@google.com, Jeuk Kim, Jaeyoon Choi, Dongjin Kim
That's great to hear, Seokhwan. Thank you for the update.

We're aligning with upstream QEMU, and it'll become possible to do integration testing of the UFS driver against QEMU's UFS emulation in Fuchsia. FEMU/AEMU may also adopt the latest QEMU. There shouldn't be any significant gaps in testing coverage there eventually, so not to worry. Please do let me know if you have any concerns.

I'll keep an eye out for the next QEMU release that includes the UFS device emulation, and get that code into Fuchsia's prebuilt QEMU binary.

Thanks.

Han

Reply all
Reply to author
Forward
0 new messages