aboutsummaryrefslogtreecommitdiff
path: root/scripts/u2f-setup-gen.py
diff options
context:
space:
mode:
authorFiona Ebner <f.ebner@proxmox.com>2023-10-31 14:54:30 +0100
committerKevin Wolf <kwolf@redhat.com>2023-10-31 18:20:29 +0100
commit76cb2f2491abcf191439ea5052999afed514b3da (patch)
tree95bffec64ad9b0e52a743f9369ac754330ef629a /scripts/u2f-setup-gen.py
parent59fd82544dea5042deb02c26f61d6f39bd187c02 (diff)
downloadqemu-76cb2f2491abcf191439ea5052999afed514b3da.zip
qemu-76cb2f2491abcf191439ea5052999afed514b3da.tar.gz
qemu-76cb2f2491abcf191439ea5052999afed514b3da.tar.bz2
mirror: return mirror-specific information upon query
To start out, only actively-synced is returned. For example, this is useful for jobs that started out in background mode and switched to active mode. Once actively-synced is true, it's clear that the mode switch has been completed. Note that completion of the switch might happen much earlier, e.g. if the switch happens before the job is ready, once all background operations have finished. It's assumed that whether the disks are actively-synced or not is more interesting than whether the mode switch completed. That information can still be added if required in the future. In presence of an iothread, the actively_synced member is now shared between the iothread and the main thread, so turn accesses to it atomic. Requires to adapt the output for iotest 109. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Message-ID: <20231031135431.393137-10-f.ebner@proxmox.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/u2f-setup-gen.py')
0 files changed, 0 insertions, 0 deletions