diff options
author | 2020-07-10 16:11:56 +0200 | |
---|---|---|
committer | 2020-07-10 12:59:39 -0400 | |
commit | d82aaef9c88aa27bce63751d6d6329920b1fe8da (patch) | |
tree | 8d200f4be04e00a7ac633b3fdd93ad17b2b7c09d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: nSVM: implement nested_svm_load_cr3() and use it for host->guest switch (diff) | |
download | wireguard-linux-d82aaef9c88aa27bce63751d6d6329920b1fe8da.tar.xz wireguard-linux-d82aaef9c88aa27bce63751d6d6329920b1fe8da.zip |
KVM: nSVM: use nested_svm_load_cr3() on guest->host switch
Make nSVM code resemble nVMX where nested_vmx_load_cr3() is used on
both guest->host and host->guest transitions. Also, we can now
eliminate unconditional kvm_mmu_reset_context() and speed things up.
Note, nVMX has two different paths: load_vmcs12_host_state() and
nested_vmx_restore_host_state() and the later is used to restore from
'partial' switch to L2, it always uses kvm_mmu_reset_context().
nSVM doesn't have this yet. Also, nested_svm_vmexit()'s return value
is almost always ignored nowadays.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20200710141157.1640173-9-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions