diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-18 09:51:06 -0500 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-15 04:42:38 -0400 |
| commit | 2a32a77cefa662773197b362db8e4190027c89fa (patch) | |
| tree | fadb60d365945e2be9fa236a1296acd07e46e86a /arch/x86/kvm/svm/nested.c | |
| parent | KVM: nSVM: Trace VM-Enter consistency check failures (diff) | |
| download | linux-2a32a77cefa662773197b362db8e4190027c89fa.tar.gz linux-2a32a77cefa662773197b362db8e4190027c89fa.zip | |
KVM: SVM: merge update_cr0_intercept into svm_set_cr0
The logic of update_cr0_intercept is pointlessly complicated.
All svm_set_cr0 is compute the effective cr0 and compare it with
the guest value.
Inlining the function and simplifying the condition
clarifies what it is doing.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions
