aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2021-05-26 15:20:24 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-17 13:09:50 -0400
commitdc313385529f1a1fa20b06bb61239a31aca9d40f (patch)
tree6097396735315bad36ae2bc7bf69fc405b253603 /tools/perf/scripts/python/flamegraph.py
parentKVM: nVMX: Force enlightened VMCS sync from nested_vmx_failValid() (diff)
downloadlinux-dc313385529f1a1fa20b06bb61239a31aca9d40f.tar.gz
linux-dc313385529f1a1fa20b06bb61239a31aca9d40f.zip
KVM: nVMX: Reset eVMCS clean fields data from prepare_vmcs02()
When nested state migration happens during L1's execution, it is incorrect to modify eVMCS as it is L1 who 'owns' it at the moment. At least genuine Hyper-V seems to not be very happy when 'clean fields' data changes underneath it. 'Clean fields' data is used in KVM twice: by copy_enlightened_to_vmcs12() and prepare_vmcs02_rare() so we can reset it from prepare_vmcs02() instead. While at it, update a comment stating why exactly we need to reset 'hv_clean_fields' data from L0. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210526132026.270394-10-vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions