Skip to content

Commit c5f7761

Browse files
authored
Merge pull request #4241 from zhaojunyao7/KVMAUTOMA-2917
virtio_fs_share_data_hugepage: correct cache argument
2 parents 8bb35d0 + e47c35e commit c5f7761

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

qemu/tests/cfg/virtio_fs_share_data_hugepage.cfg

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,20 @@
6565
- with_cache:
6666
variants:
6767
- auto:
68-
fs_binary_extra_options += ",cache=auto"
68+
!Host_RHEL.m8:
69+
fs_binary_extra_options += " --cache=auto"
70+
Host_RHEL.m8:
71+
fs_binary_extra_options += " -o cache=auto"
6972
- always:
70-
fs_binary_extra_options += ",cache=always"
71-
- none:
72-
fs_binary_extra_options += ",cache=none"
73+
!Host_RHEL.m8:
74+
fs_binary_extra_options += " --cache=always"
75+
Host_RHEL.m8:
76+
fs_binary_extra_options += " -o cache=always"
77+
- never:
78+
!Host_RHEL.m8:
79+
fs_binary_extra_options += " --cache=never"
80+
Host_RHEL.m8:
81+
fs_binary_extra_options += " -o cache=none"
7382
variants:
7483
- basic_test:
7584
cmd_dd = 'dd if=/dev/urandom of=%s bs=1M count=2048 oflag=direct'

0 commit comments

Comments
 (0)