aboutsummaryrefslogtreecommitdiff
path: root/scripts/vmstate-static-checker.py
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2025-05-09 15:40:23 -0500
committerEric Blake <eblake@redhat.com>2025-05-14 16:52:40 -0500
commit870f8963cf1a84f8ec929b05a6d68906974a76c5 (patch)
tree73120e5ff3916c72ee5eb62e3bc08dafbd0d7656 /scripts/vmstate-static-checker.py
parenteb89627899bb84148d272394e885725eff456ae9 (diff)
downloadqemu-870f8963cf1a84f8ec929b05a6d68906974a76c5.zip
qemu-870f8963cf1a84f8ec929b05a6d68906974a76c5.tar.gz
qemu-870f8963cf1a84f8ec929b05a6d68906974a76c5.tar.bz2
mirror: Minor refactoring
Commit 5791ba52 (v9.2) pre-initialized ret in mirror_dirty_init to silence a false positive compiler warning, even though in all code paths where ret is used, it was guaranteed to be reassigned beforehand. But since the function returns -errno, and -1 is not always the right errno, it's better to initialize to -EIO. An upcoming patch wants to track two bitmaps in do_sync_target_write(); this will be easier if the current variables related to the dirty bitmap are renamed. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-ID: <20250509204341.3553601-21-eblake@redhat.com>
Diffstat (limited to 'scripts/vmstate-static-checker.py')
0 files changed, 0 insertions, 0 deletions