[PATCH v7 1/9] iotests: Fix for magic hexadecimal output in 291

Andrey Shinkevich posted 9 patches 5 years, 6 months ago
There is a newer version of this series
[PATCH v7 1/9] iotests: Fix for magic hexadecimal output in 291
Posted by Andrey Shinkevich 5 years, 6 months ago
This issue was introduced in the earlier patch:
"qcow2_format: refactor QcowHeaderExtension as a subclass of
Qcow2Struct".

Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
---
 tests/qemu-iotests/291.out | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/qemu-iotests/291.out b/tests/qemu-iotests/291.out
index 1d4f9cd..ccfcdc5 100644
--- a/tests/qemu-iotests/291.out
+++ b/tests/qemu-iotests/291.out
@@ -16,17 +16,17 @@ wrote 1048576/1048576 bytes at offset 2097152
 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
 Check resulting qcow2 header extensions:
 Header extension:
-magic                     3799591626 (Backing format)
+magic                     0xe2792aca (Backing format)
 length                    5
 data                      'qcow2'
 
 Header extension:
-magic                     1745090647 (Feature table)
+magic                     0x6803f857 (Feature table)
 length                    336
 data                      <binary>
 
 Header extension:
-magic                     595929205 (Bitmaps)
+magic                     0x23852875 (Bitmaps)
 length                    24
 nb_bitmaps                2
 reserved32                0
@@ -86,12 +86,12 @@ Format specific information:
     corrupt: false
 Check resulting qcow2 header extensions:
 Header extension:
-magic                     1745090647 (Feature table)
+magic                     0x6803f857 (Feature table)
 length                    336
 data                      <binary>
 
 Header extension:
-magic                     595929205 (Bitmaps)
+magic                     0x23852875 (Bitmaps)
 length                    24
 nb_bitmaps                3
 reserved32                0
-- 
1.8.3.1


Re: [PATCH v7 1/9] iotests: Fix for magic hexadecimal output in 291
Posted by Vladimir Sementsov-Ogievskiy 5 years, 6 months ago
12.06.2020 03:04, Andrey Shinkevich wrote:
> This issue was introduced in the earlier patch:
> "qcow2_format: refactor QcowHeaderExtension as a subclass of
> Qcow2Struct".
> 
> Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>

This change was squashed to original commit

> ---
>   tests/qemu-iotests/291.out | 10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/tests/qemu-iotests/291.out b/tests/qemu-iotests/291.out
> index 1d4f9cd..ccfcdc5 100644
> --- a/tests/qemu-iotests/291.out
> +++ b/tests/qemu-iotests/291.out
> @@ -16,17 +16,17 @@ wrote 1048576/1048576 bytes at offset 2097152
>   1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
>   Check resulting qcow2 header extensions:
>   Header extension:
> -magic                     3799591626 (Backing format)
> +magic                     0xe2792aca (Backing format)
>   length                    5
>   data                      'qcow2'
>   
>   Header extension:
> -magic                     1745090647 (Feature table)
> +magic                     0x6803f857 (Feature table)
>   length                    336
>   data                      <binary>
>   
>   Header extension:
> -magic                     595929205 (Bitmaps)
> +magic                     0x23852875 (Bitmaps)
>   length                    24
>   nb_bitmaps                2
>   reserved32                0
> @@ -86,12 +86,12 @@ Format specific information:
>       corrupt: false
>   Check resulting qcow2 header extensions:
>   Header extension:
> -magic                     1745090647 (Feature table)
> +magic                     0x6803f857 (Feature table)
>   length                    336
>   data                      <binary>
>   
>   Header extension:
> -magic                     595929205 (Bitmaps)
> +magic                     0x23852875 (Bitmaps)
>   length                    24
>   nb_bitmaps                3
>   reserved32                0
> 


-- 
Best regards,
Vladimir