Re: [virtio] [PATCH] introduction: document bitfield notation

From
Stefan Hajnoczi <>
Date
2018-03-05T11:14:58+00:00
ID
Thread
Re: [virtio] [PATCH] introduction: document bitfield notation
On Wed, Feb 28, 2018 at 09:16:32PM +0200, Michael S. Tsirkin wrote:
> Bitfields are a useful and familiar way to specify sub-byte structure
> layout. The only issue is that bitfield order isn't portable across
> architectures.  Document that we list bitfields from least to
> most significant one, and warn about portability issues.
> 
> Signed-off-by: Michael S. Tsirkin <>
> ---
>  introduction.tex | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)

Reviewed-by: Stefan Hajnoczi <>