[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [virtio-comment] [ERRATUM?] 5.5.6.3 Memory Statistics: 6 -> 10 byte
Hello Michael, On Sun, May 26, 2019 at 03:35:36PM -0400, Michael S. Tsirkin wrote: > On Fri, May 24, 2019 at 11:35:47AM +0200, Philipp Hahn wrote: > > Am 24.05.19 um 05:39 schrieb Michael S. Tsirkin: > > > On Thu, May 23, 2019 at 02:51:48PM +0200, Philipp Hahn wrote: > > >> 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. > > > > > > > > > Agreed. Want to open a github issue? > > > > Sure, here it is: <https://github.com/oasis-tcs/virtio-spec/issues/45> > > > > Patch attached and also available from > > <https://github.com/univention/virtio-spec/commit/609dbbbe71fc9143c2849d2c9c2d481ec178ce30> ... > Unfortunately neither form gets the patch into our mailing > list archives as required by the TC bylaws. > See https://lists.oasis-open.org/archives/virtio-comment/201905/msg00014.html > for what got archived. > > The thing to do is to include the patch inline in the message body. > Thanks and sorry for the run-around! Lets hope it does not get white-space manangled: ----- BEGIN -----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]