Re: [PATCH v8 2/7] file-posix: introduce helper funcations for sysfs attributes

2022-08-29 Thread Stefan Hajnoczi
On Sat, Aug 27, 2022 at 12:11:21AM +0800, Sam Li wrote: If you send another revision please fix the "funcations" typo in the commit message. signature.asc Description: PGP signature

[PATCH v8 2/7] file-posix: introduce helper funcations for sysfs attributes

2022-08-26 Thread Sam Li
Use get_sysfs_str_val() to get the string value of device zoned model. Then get_sysfs_zoned_model() can convert it to BlockZoneModel type in QEMU. Use get_sysfs_long_val() to get the long value of zoned device information. Signed-off-by: Sam Li Reviewed-by: Hannes Reinecke Reviewed-by: Stefan H