From d22f7318c0b21133d7dc79e2ab7c2ba1196283f5 Mon Sep 17 00:00:00 2001 From: Junyao Zhao Date: Mon, 23 Dec 2024 18:52:38 +0800 Subject: [PATCH] virtio_fs_share_data_hugepage: correct cache argument change cache argument of virtiofsd from',cache=' to ' --cache=' and update the cache mode 'none' to 'never' to match with the latest production behavior. Signed-off-by: Junyao Zhao --- qemu/tests/cfg/virtio_fs_share_data_hugepage.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qemu/tests/cfg/virtio_fs_share_data_hugepage.cfg b/qemu/tests/cfg/virtio_fs_share_data_hugepage.cfg index 3771929447..f1ceca91c1 100644 --- a/qemu/tests/cfg/virtio_fs_share_data_hugepage.cfg +++ b/qemu/tests/cfg/virtio_fs_share_data_hugepage.cfg @@ -65,11 +65,11 @@ - with_cache: variants: - auto: - fs_binary_extra_options += ",cache=auto" + fs_binary_extra_options += " --cache=auto" - always: - fs_binary_extra_options += ",cache=always" - - none: - fs_binary_extra_options += ",cache=none" + fs_binary_extra_options += " --cache=always" + - never: + fs_binary_extra_options += " --cache=never" variants: - basic_test: cmd_dd = 'dd if=/dev/urandom of=%s bs=1M count=2048 oflag=direct'