qemu/tests
Hanna Reitz fc2c3996a5 iotests/MRCE: Write data to source
This test assumes that mirror flushes the source when entering the READY
state, and that the format level will pass that flush on to the protocol
level (where we intercept it with blkdebug).

However, apparently that does not happen when using a VMDK image with
zeroed_grain=on, which actually is the default set by testenv.py.  Right
now, Python tests ignore IMGOPTS, though, so this has no effect; but
Vladimir has a series that will change this, so we need to fix this test
before that series lands.

We can fix it by writing data to the source before we start the mirror
job; apparently that makes the (VMDK) format layer change its mind and
pass on the pre-READY flush to the protocol level, so the test passes
again.  (I presume, without any data written, mirror just does a 64M
zero write on the target, which VMDK with zeroed_grain=on basically just
ignores.)

Without this, we do not get a flush, and so blkdebug only sees a single
flush at the end of the job instead of two, and therefore does not
inject an error, which makes the block job complete instead of raising
an error.

Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20211223165308.103793-1-hreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
2022-02-01 10:51:39 +01:00
..
avocado tests/avocado: ppc: Add smoke tests for MPC7400 and MPC7450 families 2022-01-18 12:56:30 +01:00
bench
data tests/acpi/bios-table-test: Update expected virt/PPTT file 2022-01-20 11:47:52 +00:00
decode
docker docker: add msitools to Fedora/mingw cross 2022-01-27 12:08:44 +01:00
fp build: use "meson test" as the test harness 2021-12-23 10:06:19 +01:00
guest-debug
image-fuzzer
include
keys
lcitool tests/docker: add libfuse3 development headers 2022-01-18 16:42:42 +00:00
migration tests/migration: fix unix socket migration 2021-07-14 14:15:52 +01:00
multiboot
perf/block/qcow2
plugin tests/plugin/syscall.c: fix compiler warnings 2021-11-29 15:13:22 +00:00
qapi-schema meson: drop sphinx_extn_depends 2021-11-08 12:27:23 +04:00
qemu-iotests iotests/MRCE: Write data to source 2022-02-01 10:51:39 +01:00
qtest build-sys: fix a meson deprecation warning 2022-01-27 12:08:12 +01:00
rocker
tcg * Fix bits in one of the PMCW channel subsystem masks 2022-01-19 16:37:46 +00:00
tsan
uefi-test-tools
unit Pull request 2022-01-14 10:43:32 +00:00
vm FreeBSD: Upgrade to 12.3 release 2022-01-18 16:44:16 +00:00
vmstate-static-checker-data
check-block.sh check-block: replace -makecheck with TAP output 2022-01-28 11:13:33 +01:00
dbus-vmstate-daemon.sh
Makefile.include build: make check-block a meson test 2022-01-28 11:13:33 +01:00
meson.build * configure and meson fixes 2022-01-28 14:04:01 +00:00
requirements.txt acceptance tests: bump Avocado version to 88.1 2021-06-01 16:21:21 -04:00
test-qht-par.c
vhost-user-bridge.c tests/vhost-user-bridge.c: Fix typo in help message 2021-09-04 17:34:05 -04:00