-
Sam Li authored
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 of QEMU. Use get_sysfs_long_val() to get the long value of zoned device information. Signed-off-by:
Sam Li <faithilikerun@gmail.com>
Reviewed-by:
Hannes Reinecke <hare@suse.de>
Reviewed-by:
Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by:
Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by:
Dmitry Fomichev <dmitry.fomichev@wdc.com>
Acked-by:
Kevin Wolf <kwolf@redhat.com>
Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20230508045533.175575-3-faithilikerun@gmail.com
Message-id: 20230324090605.28361-3-faithilikerun@gmail.com
[Adjust commit message prefix as suggested by Philippe Mathieu-Daudé
<philmd@linaro.org>.
--Stefan]
Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>Sam Li authoredUse get_sysfs_str_val() to get the string value of device zoned model. Then get_sysfs_zoned_model() can convert it to BlockZoneModel type of QEMU. Use get_sysfs_long_val() to get the long value of zoned device information. Signed-off-by:
Sam Li <faithilikerun@gmail.com>
Reviewed-by:
Hannes Reinecke <hare@suse.de>
Reviewed-by:
Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by:
Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by:
Dmitry Fomichev <dmitry.fomichev@wdc.com>
Acked-by:
Kevin Wolf <kwolf@redhat.com>
Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20230508045533.175575-3-faithilikerun@gmail.com
Message-id: 20230324090605.28361-3-faithilikerun@gmail.com
[Adjust commit message prefix as suggested by Philippe Mathieu-Daudé
<philmd@linaro.org>.
--Stefan]
Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>
Loading