aboutsummaryrefslogtreecommitdiff
path: root/scripts/vmstate-static-checker.py
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2025-05-09 15:40:19 -0500
committerEric Blake <eblake@redhat.com>2025-05-14 15:49:27 -0500
commita6a0a7fb0e327d17594c971b4a39de14e025b415 (patch)
tree13452c9f937d9df3ccf1166a966c0ea6561aa66f /scripts/vmstate-static-checker.py
parentc33159dec79069514f78faecfe268439226b0f5b (diff)
downloadqemu-a6a0a7fb0e327d17594c971b4a39de14e025b415.zip
qemu-a6a0a7fb0e327d17594c971b4a39de14e025b415.tar.gz
qemu-a6a0a7fb0e327d17594c971b4a39de14e025b415.tar.bz2
file-posix, gluster: Handle zero block status hint better
Although the previous patch to change 'bool want_zero' into a bitmask made no semantic change, it is now time to differentiate. When the caller specifically wants to know what parts of the file read as zero, we need to use lseek and actually reporting holes, rather than short-circuiting and advertising full allocation. This change will be utilized in later patches to let mirroring optimize for the case when the destination already reads as zeroes. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-ID: <20250509204341.3553601-17-eblake@redhat.com>
Diffstat (limited to 'scripts/vmstate-static-checker.py')
0 files changed, 0 insertions, 0 deletions