diff options
| author | Sean Christopherson <seanjc@google.com> | 2021-07-13 09:33:09 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-08-02 11:01:56 -0400 |
| commit | 6cfe7b83acdcdd4d4ea9354f007a88bc0ccb16b9 (patch) | |
| tree | 8884bb508f27b018cc87537c15dd6044695a5902 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | KVM: SVM: Tweak order of cr0/cr4/efer writes at RESET/INIT (diff) | |
| download | linux-6cfe7b83acdcdd4d4ea9354f007a88bc0ccb16b9.tar.gz linux-6cfe7b83acdcdd4d4ea9354f007a88bc0ccb16b9.zip | |
KVM: SVM: Drop redundant writes to vmcb->save.cr4 at RESET/INIT
Drop direct writes to vmcb->save.cr4 during vCPU RESET/INIT, as the
values being written are fully redundant with respect to
svm_set_cr4(vcpu, 0) a few lines earlier. Note, svm_set_cr4() also
correctly forces X86_CR4_PAE when NPT is disabled.
No functional change intended.
Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210713163324.627647-32-seanjc@google.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
