aboutsummaryrefslogtreecommitdiff
path: root/hw/core/cpu-user.c
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2025-08-06 10:48:37 +0300
committerMichael Tokarev <mjt@tls.msk.ru>2025-08-07 23:55:39 +0300
commit5a5d18c75666378ff5db70268dbd39bd38488f21 (patch)
treeadbc6865388808e6b905e5d2e0032d095807741d /hw/core/cpu-user.c
parentcd21ee5b27b22ae66c103d36516aa5077881aa3d (diff)
downloadqemu-5a5d18c75666378ff5db70268dbd39bd38488f21.zip
qemu-5a5d18c75666378ff5db70268dbd39bd38488f21.tar.gz
qemu-5a5d18c75666378ff5db70268dbd39bd38488f21.tar.bz2
tests/qemu-iotests/tests/mirror-sparse: actually require O_DIRECT
Commit c0ddcb2cbc146e introduced the test which uses cache=direct mode, without checking if the scratch filesystem supports O_DIRECT. A subsequent commit, afeb002e0ad49d, tried to fix that issue, but instead of checking for o_direct, it checked for `_supported_cache_modes none directsync`, which is not what the original mirror-sparse test uses. Fix both by actually checking for o_direct. Fixes: c0ddcb2cbc146e "tests: Add iotest mirror-sparse for recent patches" Fixes: afeb002e0ad49d "tests/qemu-iotests/tests/mirror-sparse: skip if O_DIRECT is not supported" Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/core/cpu-user.c')
0 files changed, 0 insertions, 0 deletions