Re: [PATCH v7 4/4] tests/qtest: Introduce tests for UFS

2023-07-26 Thread Stefan Hajnoczi
On Wed, Jul 26, 2023 at 02:30:53PM +0900, Jeuk Kim wrote: > +static void *ufs_blk_test_setup(GString *cmd_line, void *arg) > +{ > +char *tmp_path = drive_create(); > + > +g_string_append_printf(cmd_line, > + " -drive if=none,id=drv1,file=%s," > +

Re: [PATCH v7 4/4] tests/qtest: Introduce tests for UFS

2023-07-26 Thread Jeuk Kim
On 7/26/2023 4:21 PM, Thomas Huth wrote:  Hi! On 26/07/2023 07.30, Jeuk Kim wrote: This patch includes the following tests    Test mmio read    Test ufs device initialization and ufs-lu recognition    Test I/O (Performs a write followed by a read to verify) Signed-off-by: Jeuk Kim --- ...

Re: [PATCH v7 4/4] tests/qtest: Introduce tests for UFS

2023-07-26 Thread Thomas Huth
Hi! On 26/07/2023 07.30, Jeuk Kim wrote: This patch includes the following tests Test mmio read Test ufs device initialization and ufs-lu recognition Test I/O (Performs a write followed by a read to verify) Signed-off-by: Jeuk Kim --- ... diff --git a/tests/qtest/ufs-test.c b/tests

[PATCH v7 4/4] tests/qtest: Introduce tests for UFS

2023-07-25 Thread Jeuk Kim
This patch includes the following tests Test mmio read Test ufs device initialization and ufs-lu recognition Test I/O (Performs a write followed by a read to verify) Signed-off-by: Jeuk Kim --- MAINTAINERS | 1 + tests/qtest/meson.build | 1 + tests/qtest/ufs-test.c | 575