diff options
author | 2021-12-20 16:21:35 +0100 | |
---|---|---|
committer | 2022-01-26 12:15:03 -0500 | |
commit | aa3b39f38c7a5dfdd10b3f61a0d055b85aa85451 (patch) | |
tree | 567a705b2d6ed8ec4ae6c346e65c7ffafaca5b27 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: SVM: hyper-v: Enable Enlightened MSR-Bitmap support for real (diff) | |
download | wireguard-linux-aa3b39f38c7a5dfdd10b3f61a0d055b85aa85451.tar.xz wireguard-linux-aa3b39f38c7a5dfdd10b3f61a0d055b85aa85451.zip |
KVM: SVM: drop unnecessary code in svm_hv_vmcb_dirty_nested_enlightenments()
Commit 3fa5e8fd0a0e4 ("KVM: SVM: delay svm_vcpu_init_msrpm after
svm->vmcb is initialized") re-arranged svm_vcpu_init_msrpm() call in
svm_create_vcpu(), thus making the comment about vmcb being NULL
obsolete. Drop it.
While on it, drop superfluous vmcb_is_clean() check: vmcb_mark_dirty()
is a bit flip, an extra check is unlikely to bring any performance gain.
Drop now-unneeded vmcb_is_clean() helper as well.
Fixes: 3fa5e8fd0a0e4 ("KVM: SVM: delay svm_vcpu_init_msrpm after svm->vmcb is initialized")
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20211220152139.418372-2-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions