diff options
author | Sean Christopherson <[email protected]> | 2021-07-13 09:33:09 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-08-02 11:01:56 -0400 |
commit | 6cfe7b83acdcdd4d4ea9354f007a88bc0ccb16b9 (patch) | |
tree | 8884bb508f27b018cc87537c15dd6044695a5902 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ef8a0fa59be78e7b80bdf35c3391d60c061c7b24 (diff) |
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 <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions