Skip to content

Commit ea50200

Browse files
committed
Merge pull request #98 from simonjbeaumont/octets
Make octect ranges unambiguous
2 parents 387d9da + f1e75ff commit ea50200

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

xapi/futures/thin-lvhd/thin-lvhd.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,15 @@ The extend request
172172

173173
The request has the following format:
174174

175-
Octet offsets | Name | Description
176-
--------------|----------|------------
177-
0,1 | tl | Total length (including this field) of message (in network byte order)
178-
2 | type | The value '0' indicating an extend request
179-
3 | nl | The length of the LV name in octets, including NULL terminator
180-
4,...,4+nl-1 | name | The LV name
181-
4+nl-12+nl-1 | vdi_size | The virtual size of the logical VDI (in network byte order)
182-
12+nl-20+nl-1 | lv_size | The current size of the LV (in network byte order)
183-
20+nl-28+nl-1 | cur_size | The current size of the vhd metadata (in network byte order)
175+
Octet offsets | Name | Description
176+
-----------------|----------|------------
177+
0,1 | tl | Total length (including this field) of message (in network byte order)
178+
2 | type | The value '0' indicating an extend request
179+
3 | nl | The length of the LV name in octets, including NULL terminator
180+
4,..,4+nl-1 | name | The LV name
181+
4+nl,..,12+nl-1 | vdi_size | The virtual size of the logical VDI (in network byte order)
182+
12+nl,..,20+nl-1 | lv_size | The current size of the LV (in network byte order)
183+
20+nl,..,28+nl-1 | cur_size | The current size of the vhd metadata (in network byte order)
184184

185185
The extend response
186186
-------------------

0 commit comments

Comments
 (0)