Re: [PATCH 2/2] cutils: Add time_us_to_str

2025-07-15 Thread Philippe Mathieu-Daudé
On 15/7/25 14:45, Fabiano Rosas wrote: The migration code has a function that converts a time value (us) to a string with the proper suffix. Move it to cutils since it's generic enough that it could be reused. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Fabiano Rosas --- include/qemu

[PATCH 2/2] cutils: Add time_us_to_str

2025-07-15 Thread Fabiano Rosas
The migration code has a function that converts a time value (us) to a string with the proper suffix. Move it to cutils since it's generic enough that it could be reused. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Fabiano Rosas --- include/qemu/cutils.h | 1 + migration/migra