diff options
author | Philipp Hahn <hahn@univention.de> | 2019-05-27 08:49:24 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-10-27 08:00:25 -0400 |
commit | 30d8e1ad22f7e1207664723a2815359b4992c927 (patch) | |
tree | ee3bbb28b7b9bdc34b7ff39bf20dd88f2aceb7c1 /cl-cs03.tex | |
parent | f459b9e0ea60392f037bc740c681980563d920fc (diff) | |
download | virtio-spec-30d8e1ad22f7e1207664723a2815359b4992c927.tar.gz |
Balloon: Fix Memory Statistics structure size
5.5.6.3 Memory Statistics: 6 -> 10 byte
> 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.
Fixes: https://github.com/oasis-tcs/virtio-spec/issues/45
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'cl-cs03.tex')
0 files changed, 0 insertions, 0 deletions