qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-5.0] qcow2: Add incompatibility note between backing files and raw external data files
@ 2020-04-10 12:18 Alberto Garcia
  2020-04-13 18:11 ` Eric Blake
  2020-04-14 15:31 ` Kevin Wolf
  0 siblings, 2 replies; 4+ messages in thread
From: Alberto Garcia @ 2020-04-10 12:18 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Alberto Garcia, qemu-block, Max Reitz

Backing files and raw external data files are mutually exclusive.
The documentation of the raw external data bit (in autoclear_features)
already indicates that, but we should also mention it on the other
side.

Suggested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Alberto Garcia <berto@igalia.com>
---
 docs/interop/qcow2.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/interop/qcow2.txt b/docs/interop/qcow2.txt
index 640e0eca40..298a031310 100644
--- a/docs/interop/qcow2.txt
+++ b/docs/interop/qcow2.txt
@@ -25,6 +25,9 @@ The first cluster of a qcow2 image contains the file header:
                     is stored (NB: The string is not null terminated). 0 if the
                     image doesn't have a backing file.
 
+                    Note: backing files are incompatible with raw external data
+                    files (auto-clear feature bit 1).
+
          16 - 19:   backing_file_size
                     Length of the backing file name in bytes. Must not be
                     longer than 1023 bytes. Undefined if the image doesn't have
-- 
2.20.1



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

* Re: [PATCH for-5.0] qcow2: Add incompatibility note between backing files and raw external data files
  2020-04-10 12:18 [PATCH for-5.0] qcow2: Add incompatibility note between backing files and raw external data files Alberto Garcia
@ 2020-04-13 18:11 ` Eric Blake
  2020-04-14 15:31 ` Kevin Wolf
  1 sibling, 0 replies; 4+ messages in thread
From: Eric Blake @ 2020-04-13 18:11 UTC (permalink / raw)
  To: Alberto Garcia, qemu-devel; +Cc: Kevin Wolf, qemu-block, Max Reitz

On 4/10/20 7:18 AM, Alberto Garcia wrote:
> Backing files and raw external data files are mutually exclusive.
> The documentation of the raw external data bit (in autoclear_features)
> already indicates that, but we should also mention it on the other
> side.
> 
> Suggested-by: Eric Blake <eblake@redhat.com>
> Signed-off-by: Alberto Garcia <berto@igalia.com>
> ---
>   docs/interop/qcow2.txt | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/docs/interop/qcow2.txt b/docs/interop/qcow2.txt
> index 640e0eca40..298a031310 100644
> --- a/docs/interop/qcow2.txt
> +++ b/docs/interop/qcow2.txt
> @@ -25,6 +25,9 @@ The first cluster of a qcow2 image contains the file header:
>                       is stored (NB: The string is not null terminated). 0 if the
>                       image doesn't have a backing file.
>   
> +                    Note: backing files are incompatible with raw external data
> +                    files (auto-clear feature bit 1).
> +
>            16 - 19:   backing_file_size
>                       Length of the backing file name in bytes. Must not be
>                       longer than 1023 bytes. Undefined if the image doesn't have
> 

Reviewed-by: Eric Blake <eblake@redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org



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

* Re: [PATCH for-5.0] qcow2: Add incompatibility note between backing files and raw external data files
  2020-04-10 12:18 [PATCH for-5.0] qcow2: Add incompatibility note between backing files and raw external data files Alberto Garcia
  2020-04-13 18:11 ` Eric Blake
@ 2020-04-14 15:31 ` Kevin Wolf
  2020-04-14 16:10   ` Alberto Garcia
  1 sibling, 1 reply; 4+ messages in thread
From: Kevin Wolf @ 2020-04-14 15:31 UTC (permalink / raw)
  To: Alberto Garcia; +Cc: qemu-devel, qemu-block, Max Reitz

Am 10.04.2020 um 14:18 hat Alberto Garcia geschrieben:
> Backing files and raw external data files are mutually exclusive.
> The documentation of the raw external data bit (in autoclear_features)
> already indicates that, but we should also mention it on the other
> side.
> 
> Suggested-by: Eric Blake <eblake@redhat.com>
> Signed-off-by: Alberto Garcia <berto@igalia.com>

Thanks, applied to the block branch.

I don't think this is critical for 5.0, so if I make a pull request for
other reasons, I'll include it, but if you agree, I won't send one just
for this patch.

Kevin



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

* Re: [PATCH for-5.0] qcow2: Add incompatibility note between backing files and raw external data files
  2020-04-14 15:31 ` Kevin Wolf
@ 2020-04-14 16:10   ` Alberto Garcia
  0 siblings, 0 replies; 4+ messages in thread
From: Alberto Garcia @ 2020-04-14 16:10 UTC (permalink / raw)
  To: Kevin Wolf; +Cc: qemu-devel, qemu-block, Max Reitz

On Tue 14 Apr 2020 05:31:26 PM CEST, Kevin Wolf <kwolf@redhat.com> wrote:

> I don't think this is critical for 5.0, so if I make a pull request
> for other reasons, I'll include it, but if you agree, I won't send one
> just for this patch.

Sure, no problem.

Berto


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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-10 12:18 [PATCH for-5.0] qcow2: Add incompatibility note between backing files and raw external data files Alberto Garcia
2020-04-13 18:11 ` Eric Blake
2020-04-14 15:31 ` Kevin Wolf
2020-04-14 16:10   ` Alberto Garcia

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).