[libvirt PATCHv2] storagefile: set size field of ploop to 8
Michal Prívozník
mprivozn at redhat.com
Wed Jun 22 13:26:30 UTC 2022
On 6/22/22 13:29, Ján Tomko wrote:
> For all file formats, the length of the size field is assumed
> and hardcoded to be 8 bytes.
>
> Fix the length for the ploop format - since we specify the offset,
> we read 8 bytes of the length, not 0.
>
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
> src/storage_file/storage_file_probe.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
Michal
More information about the libvir-list
mailing list