Commit ae1a63c
committed
virtio-msg: align 8 bytes fields
Align 8 byte fields to offsets that are multiples of 8.
Messages are byte streams not directly addressable C structures.
Custom messages may use any field alignment they wish.
However, for the current standard messages there is no harm in aligning
them.
This only effects GET_VQUEUE and SET_VQUEUE.
Signed-off-by: Bill Mills <bill.mills@linaro.org>1 parent bde1504 commit ae1a63c
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1006 | 1006 | | |
1007 | 1007 | | |
1008 | 1008 | | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
1012 | 1013 | | |
1013 | 1014 | | |
1014 | 1015 | | |
| |||
1027 | 1028 | | |
1028 | 1029 | | |
1029 | 1030 | | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
1033 | 1035 | | |
1034 | 1036 | | |
1035 | 1037 | | |
| |||
0 commit comments