vpci/msi: fix size of the vectors fields
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 27 Mar 2018 08:27:46 +0000 (10:27 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 27 Mar 2018 08:27:46 +0000 (10:27 +0200)
commitdfa5ec89df7acecb29d8888e32f52455b019e815
tree96a4e5a70424ccb60633eb9d1aca51de97ce472e
parent9338a37dd976d95a3cb371bff3e613337a2fdf55
vpci/msi: fix size of the vectors fields

The current size (5bits) is not enough to store the maximum number of
vectors (32), bump it by one bit.

Also change the layout so that 'vectors' is aligned to a 8bit
boundary.

Note that the size of the struct is still the same.

Coverity ID: 1430810

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/include/xen/vpci.h