aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHaiwei Li <[email protected]>2021-04-09 10:24:56 +0800
committerPaolo Bonzini <[email protected]>2021-04-20 04:18:51 -0400
commit870c575a56c751d515d036495316a302ff6e7f6e (patch)
tree0d4dd45861d5f302ca5feb39603a5d1577abf3bc /tools/perf/scripts/python
parent7c896d375565a032705f64804f8c1189df1f7a89 (diff)
KVM: vmx: add mismatched size assertions in vmcs_check32()
Add compile-time assertions in vmcs_check32() to disallow accesses to 64-bit and 64-bit high fields via vmcs_{read,write}32(). Upper level KVM code should never do partial accesses to VMCS fields. KVM handles the split accesses automatically in vmcs_{read,write}64() when running as a 32-bit kernel. Reviewed-and-tested-by: Sean Christopherson <[email protected]> Signed-off-by: Haiwei Li <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions