]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/ufs: ufs attribute read/write test implemented
authorYoochan Jeong <yc01.jeong@samsung.com>
Thu, 22 Aug 2024 08:11:51 +0000 (17:11 +0900)
committerJeuk Kim <jeuk20.kim@samsung.com>
Fri, 6 Sep 2024 09:04:16 +0000 (18:04 +0900)
commit49ccea4be9400a29477ab20fe959629786b076fd
tree95127f7cb6cc86535e6e23133469c8f88fca20a5
parent4aac30299b742f594f52016d4133487ad33459e7
hw/ufs: ufs attribute read/write test implemented

New test function "ufstest_query_attr_request" added, which can check one's
virtual UFS device can properly read and write its attribute data.
It tests if reading and writing attributes work properly. There are
some testcases that are intended to make an error caused by writing an
invalid value, allocating an invalid selector and permission issues.

Signed-off-by: Yoochan Jeong <yc01.jeong@samsung.com>
Reviewed-by: Jeuk Kim <jeuk20.kim@samsung.com>
Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>
tests/qtest/ufs-test.c