aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorVitaly Kuznetsov <[email protected]>2018-12-12 18:57:01 +0100
committerPaolo Bonzini <[email protected]>2018-12-14 17:59:52 +0100
commitec084491727b078a6628c690ec96f9c3a2253a61 (patch)
treea54d099707a8eeb8222da0c4674c0a4ec646f3d6 /tools/perf/scripts/python/bin
parent7deec5e0df741102c9b54156c88cd1476d272ae5 (diff)
x86/hyper-v: Mark TLFS structures packed
The TLFS structures are used for hypervisor-guest communication and must exactly meet the specification. Compilers can add alignment padding to structures or reorder struct members for randomization and optimization, which would break the hypervisor ABI. Mark the structures as packed to prevent this. 'struct hv_vp_assist_page' and 'struct hv_enlightened_vmcs' need to be properly padded to support the change. Suggested-by: Nadav Amit <[email protected]> Signed-off-by: Vitaly Kuznetsov <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Acked-by: Nadav Amit <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions