aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/303.out
blob: 7c16998587840607918fd777fb99c42625b52d5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
Add bitmap 1
wrote 1048576/1048576 bytes at offset 0
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)

wrote 1048576/1048576 bytes at offset 1048576
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)

wrote 1048576/1048576 bytes at offset 2097152
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)

wrote 1048576/1048576 bytes at offset 3145728
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)

wrote 1048576/1048576 bytes at offset 4194304
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)

wrote 1048576/1048576 bytes at offset 5242880
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)


Add bitmap 2
wrote 1048576/1048576 bytes at offset 6291456
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)

wrote 1048576/1048576 bytes at offset 7340032
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)


magic                     0x514649fb
version                   3
backing_file_offset       0x0
backing_file_size         0x0
cluster_bits              16
size                      10485760
crypt_method              0
l1_size                   1
l1_table_offset           0x30000
refcount_table_offset     0x10000
refcount_table_clusters   1
nb_snapshots              0
snapshot_offset           0x0
incompatible_features     []
compatible_features       []
autoclear_features        [0]
refcount_order            4
header_length             112

Header extension:
magic                     0x6803f857 (Feature table)
length                    384
data                      <binary>

Header extension:
magic                     0x23852875 (Bitmaps)
length                    24
nb_bitmaps                2
reserved32                0
bitmap_directory_size     0x40
bitmap_directory_offset   0x9d0000

Bitmap name               bitmap-1
bitmap_table_offset       0x9b0000
bitmap_table_size         1
flags                     0x2 (['auto'])
type                      1
granularity_bits          15
name_size                 8
extra_data_size           0
Bitmap table   type            size         offset
0              serialized      65536        10092544

Bitmap name               bitmap-2
bitmap_table_offset       0x9c0000
bitmap_table_size         1
flags                     0x0 ([])
type                      1
granularity_bits          16
name_size                 8
extra_data_size           0
Bitmap table   type            size         offset
0              all-zeroes      0            0

{
    "magic": 1363560955,
    "version": 3,
    "backing_file_offset": 0,
    "backing_file_size": 0,
    "cluster_bits": 16,
    "size": 10485760,
    "crypt_method": 0,
    "l1_size": 1,
    "l1_table_offset": 196608,
    "refcount_table_offset": 65536,
    "refcount_table_clusters": 1,
    "nb_snapshots": 0,
    "snapshot_offset": 0,
    "incompatible_features": 0,
    "compatible_features": 0,
    "autoclear_features": 1,
    "refcount_order": 4,
    "header_length": 112
}

[
    {
        "name": "Feature table",
        "magic": 1745090647,
        "length": 384,
        "data_str": "<binary>"
    },
    {
        "name": "Bitmaps",
        "magic": 595929205,
        "length": 24,
        "data": {
            "nb_bitmaps": 2,
            "reserved32": 0,
            "bitmap_directory_size": 64,
            "bitmap_directory_offset": 10289152,
            "bitmap_directory": [
                {
                    "name": "bitmap-1",
                    "bitmap_table_offset": 10158080,
                    "bitmap_table_size": 1,
                    "flags": 2,
                    "type": 1,
                    "granularity_bits": 15,
                    "name_size": 8,
                    "extra_data_size": 0,
                    "bitmap_table": [
                        {
                            "type": "serialized",
                            "offset": 10092544,
                            "reserved": 0
                        }
                    ]
                },
                {
                    "name": "bitmap-2",
                    "bitmap_table_offset": 10223616,
                    "bitmap_table_size": 1,
                    "flags": 0,
                    "type": 1,
                    "granularity_bits": 16,
                    "name_size": 8,
                    "extra_data_size": 0,
                    "bitmap_table": [
                        {
                            "type": "all-zeroes",
                            "offset": 0,
                            "reserved": 0
                        }
                    ]
                }
            ]
        }
    }
]