summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/flamegraph-report
diff options
context:
space:
mode:
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>2021-11-03 10:05:26 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2021-12-08 04:24:40 -0500
commit8fc78909c05d1691c0d087cb1b9a4858762c747d (patch)
tree22beff4b47b8dffa0a9a300d3cb7fcac66b1cecd /tools/perf/scripts/python/bin/flamegraph-report
parentbd95926c2b2b9b66013a36b6558aa426147ed11f (diff)
downloadlinux-8fc78909c05d1691c0d087cb1b9a4858762c747d.tar.gz
linux-8fc78909c05d1691c0d087cb1b9a4858762c747d.zip
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 <eesposit@redhat.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20211103140527.752797-7-eesposit@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-report')
0 files changed, 0 insertions, 0 deletions