xen/MSI-X: really enforce alignment
commitbdfe5159cbaebf9e935786040459c56d23646d5a
authorJan Beulich <JBeulich@suse.com>
Wed, 9 Dec 2015 15:46:57 +0000 (9 15:46 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 9 Dec 2015 15:46:57 +0000 (9 15:46 +0000)
treed570174dca4dcd93941ea22fca475daeadedd094
parentf0ada3608ac13cf13f4e2955ed348dc93a38ac45
xen/MSI-X: really enforce alignment

The way the generic infrastructure works the intention of not allowing
unaligned accesses can't be achieved by simply setting .unaligned to
false. The benefit is that we can now replace the conditionals in
{get,set}_entry_value() by assert()-s.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/xen/xen_pt_msi.c