qemu-cr16/tests
Raman Dzehtsiar 3d3911f16b blockdev-backup: Add error handling option for copy-before-write jobs
This patch extends the blockdev-backup QMP command to allow users to specify
how to behave when IO errors occur during copy-before-write operations.
Previously, the behavior was fixed and could not be controlled by the user.

The new 'on-cbw-error' option can be set to one of two values:
- 'break-guest-write': Forwards the IO error to the guest and triggers
  the on-source-error policy. This preserves snapshot integrity at the
  expense of guest IO operations.
- 'break-snapshot': Allows the guest OS to continue running normally,
  but invalidates the snapshot and aborts related jobs. This prioritizes
  guest operation over backup consistency.

This enhancement provides more flexibility for backup operations in different
environments where requirements for guest availability versus backup
consistency may vary.

The default behavior remains unchanged to maintain backward compatibility.

Signed-off-by: Raman Dzehtsiar <Raman.Dzehtsiar@gmail.com>
Message-ID: <20250414090025.828660-1-Raman.Dzehtsiar@gmail.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
[vsementsov: fix long lines]
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Tested-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
2025-05-12 18:19:31 +03:00
..
bench
data target/riscv: use RVB in RVA22U64 2025-03-04 15:42:54 +10:00
decode
docker libvirt-ci: bump to latest for vulkan-tools 2025-03-10 10:30:00 +00:00
fp fpu: allow flushing of output denormals to be after rounding 2025-02-11 16:22:07 +00:00
functional tests/functional: Remove unnecessary import statements 2025-04-23 07:51:25 +02:00
guest-debug tests/tcg: Add late gdbstub attach test 2025-02-10 13:47:59 +00:00
image-fuzzer
include
keys
lcitool libvirt-ci: bump to latest for vulkan-tools 2025-03-10 10:30:00 +00:00
migration-stress guestperf: Add test result data into report 2025-02-14 15:19:07 -03:00
multiboot
perf/block/qcow2
qapi-schema docs/sphinx/qmp_lexer: Generalize elision syntax 2025-04-08 09:04:34 +02:00
qemu-iotests blockdev-backup: Add error handling option for copy-before-write jobs 2025-05-12 18:19:31 +03:00
qtest Miscellaneous patches for 2025-04-24 2025-04-24 13:44:57 -04:00
rocker
tcg contrib/plugins: Fix type conflict of GLib function pointers 2025-04-25 17:09:58 +02:00
tsan
uefi-test-tools
unit qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
vm tests/vm: bump timeout for shutdown 2025-03-10 10:30:00 +00:00
vmstate-static-checker-data
dbus-vmstate-daemon.sh
Makefile.include Remove the remainders of the Avocado tests 2025-04-23 07:51:25 +02:00
meson.build qapi: expose all schema features to code 2025-02-10 15:45:04 +01:00
test-qht-par.c
vhost-user-bridge.c