Skip to content
Commit c13efdd6 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Will Deacon
Browse files

kvm tools: Fix alignment for mpf_intel table



Thomas and Asias reported that kernel doesn't find MP
tables on 32 bit host. This is because previously the
alignment was done on address obtained from calloc
missing the fact that MP tables are put into guest
memory *with* offset and MP signature should be
calculated keeping this offset in midn as well and
then aligned.

Reported-by: default avatarThomas Heil <heil@terminal-consulting.de>
Reported-by: default avatarAsias He <asias.hejun@gmail.com>
Tested-by: default avatarThomas Heil <heil@terminal-consulting.de>
Tested-by: default avatarAsias He <asias.hejun@gmail.com>
Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: default avatarPekka Enberg <penberg@kernel.org>
parent 32fccd4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment