aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEmanuele Giuseppe Esposito <[email protected]>2021-11-03 10:05:26 -0400
committerPaolo Bonzini <[email protected]>2021-12-08 04:24:40 -0500
commit8fc78909c05d1691c0d087cb1b9a4858762c747d (patch)
tree22beff4b47b8dffa0a9a300d3cb7fcac66b1cecd /tools/perf/scripts/python
parentbd95926c2b2b9b66013a36b6558aa426147ed11f (diff)
KVM: nSVM: introduce struct vmcb_ctrl_area_cached
This structure will replace vmcb_control_area in svm_nested_state, providing only the fields that are actually used by the nested state. This avoids having and copying around uninitialized fields. The cost of this, however, is that all functions (in this case vmcb_is_intercept) expect the old structure, so they need to be duplicated. In addition, in svm_get_nested_state() user space expects a vmcb_control_area struct, so we need to copy back all fields in a temporary structure before copying it to userspace. Signed-off-by: Emanuele Giuseppe Esposito <[email protected]> Reviewed-by: Maxim Levitsky <[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