Changes since v3: - Split the change into two patches [Philippe Mathieu-Daude].
It was found that 'qemu-nbd' is not able to work with some disk images exported from Azure as it uses a currently unknown 'wa\0\0' 'creator app' signature. QEMU currently supports two methods for determining the image size: CHS and 'current_size' and the list of known 'creator app's is used to decide between the two. Invert the logic in QEMU and make 'current_size' the default as it seems that VPC and old QEMU are the only two legacy apps where preferring CHS makes sense. Vitaly Kuznetsov (2): vpc: Split off vpc_ignore_current_size() helper vpc: Read images exported from Azure correctly block/vpc.c | 65 ++++++++++++++++++++++++++++------------------------- 1 file changed, 35 insertions(+), 30 deletions(-) -- 2.47.0