qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] vpc: Read images exported from Azure correctly
@ 2024-12-12 13:45 Vitaly Kuznetsov
  2024-12-12 13:45 ` [PATCH v4 1/2] vpc: Split off vpc_ignore_current_size() helper Vitaly Kuznetsov
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Vitaly Kuznetsov @ 2024-12-12 13:45 UTC (permalink / raw)
  To: qemu-devel, Kevin Wolf, Hanna Reitz, qemu-block
  Cc: Eric Blake, Philippe Mathieu-Daude

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-01-16 14:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-12 13:45 [PATCH v4 0/2] vpc: Read images exported from Azure correctly Vitaly Kuznetsov
2024-12-12 13:45 ` [PATCH v4 1/2] vpc: Split off vpc_ignore_current_size() helper Vitaly Kuznetsov
2024-12-12 14:13   ` Philippe Mathieu-Daudé
2024-12-12 13:45 ` [PATCH v4 2/2] vpc: Read images exported from Azure correctly Vitaly Kuznetsov
2025-01-08 16:03 ` [PATCH v4 0/2] " Vitaly Kuznetsov
2025-01-16 14:03 ` Kevin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).