← Prev in month ← Prev in thread

[ERRATUM?] 5.5.6.3 Memory Statistics: 6 -> 10 byte

From
Philipp Hahn <>
Date
2019-05-23T12:51:52+00:00
ID
Thread
[ERRATUM?] 5.5.6.3 Memory Statistics: 6 -> 10 byte
Hello,

quoting
<https://docs.oasis-open.org/virtio/virtio/v1.1/cs01/virtio-v1.1-cs01.html#x1-2930003>:

> Within the buffer, statistics are an array of 6-byte entries. 
                                                ^
> Each statistic consists of a 16 bit tag and a 64 bit value.
...
> struct virtio_balloon_stat { 
...
>         le16 tag; 
>         le64 val; 
> } __attribute__((packed));

If my calculation is right that is a (16 + 64) = 80 bits which is a
10-byte sized entry - not 6-byte.

Philipp
-- 
Philipp Hahn
Open Source Software Engineer

Univention GmbH
be open.
Mary-Somerville-Str. 1
D-28359 Bremen
Tel.: +49 421 22232-0
Fax : +49 421 22232-99


http://www.univention.de/
GeschÃftsfÃhrer: Peter H. Ganten
HRB 20755 Amtsgericht Bremen
Steuer-Nr.: 71-597-02876
← Prev in month ← Prev in thread