qemu-cr16/tests
David Woodhouse 7cabbdb70d hw/xen: Watches on XenStore transactions
Firing watches on the nodes that still exist is relatively easy; just
walk the tree and look at the nodes with refcount of one.

Firing watches on *deleted* nodes is more fun. We add 'modified_in_tx'
and 'deleted_in_tx' flags to each node. Nodes with those flags cannot
be shared, as they will always be unique to the transaction in which
they were created.

When xs_node_walk would need to *create* a node as scaffolding and it
encounters a deleted_in_tx node, it can resurrect it simply by clearing
its deleted_in_tx flag. If that node originally had any *data*, they're
gone, and the modified_in_tx flag will have been set when it was first
deleted.

We then attempt to send appropriate watches when the transaction is
committed, properly delete the deleted_in_tx nodes, and remove the
modified_in_tx flag from the others.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
2023-03-07 17:04:30 +00:00
..
avocado aspeed queue: 2023-03-03 17:11:22 +00:00
bench Update bench-code for addressing CI problem 2023-02-11 16:51:09 +01:00
data tests/data/acpi/virt: drop (most) duplicate files. 2023-03-02 19:13:52 -05:00
decode
docker tests/docker: add zstdtools to the images 2023-03-01 12:45:16 +00:00
fp tests: make fp-test less chatty when running from test suite 2023-03-01 10:31:28 +00:00
guest-debug
image-fuzzer
include
keys
lcitool tests/docker: add zstdtools to the images 2023-03-01 12:45:16 +00:00
migration hw/misc/sga: Remove the deprecated "sga" device 2023-02-14 09:02:42 +01:00
multiboot
perf/block/qcow2
plugin
qapi-schema meson: replace Perl usage with Python 2023-02-02 10:44:23 +00:00
qemu-iotests Updated the FSF address to <https://www.gnu.org/licenses/> 2023-02-27 09:15:39 +01:00
qtest tests/qtest/migration-test: Disable migration/multifd/tcp/plain/cancel 2023-03-04 14:01:52 +00:00
rocker
tcg tests/docker: Use binaries for debian-tricore-cross 2023-03-01 10:32:09 +00:00
tsan
uefi-test-tools
unit hw/xen: Watches on XenStore transactions 2023-03-07 17:04:30 +00:00
vm lcitool: drop perl from QEMU project/dependencies 2023-02-02 10:44:23 +00:00
vmstate-static-checker-data
check-block.sh
dbus-vmstate-daemon.sh
Makefile.include
meson.build
requirements.txt
test-qht-par.c
vhost-user-bridge.c error handling: Use RETRY_ON_EINTR() macro where applicable 2023-01-09 13:50:47 +01:00