On Fri, Mar 10, 2017 at 10:10:57AM +0000, Tim Deegan wrote: > The 'val' field in the packet is byte-aligned (because it is part of a > packed struct), but the pointer argument to kdd_rdmsr() has the normal > alignment constraints for a uint64_t *. Use a local variable to make sure > the passed pointer has the correct alignment. > > Reported-by: Roger Pau Monné <roger....@citrix.com> > Signed-off-by: Tim Deegan <t...@xen.org>
Acked-by: Roger Pau Monné <roger....@citrix.com> Tested-by: Roger Pau Monné <roger....@citrix.com> Right, I got messed up while manually calculating the offsets by hand... Thanks for fixing this. Roger. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel