diff options
| author | Sean Christopherson <[email protected]> | 2021-07-13 09:33:10 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-08-02 11:01:56 -0400 |
| commit | d0f9f826d8ac06446391ceb3d4a440f5b48b3134 (patch) | |
| tree | 48081c2c3a2ba01afe4b1fc36699a95945788d06 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 6cfe7b83acdcdd4d4ea9354f007a88bc0ccb16b9 (diff) | |
KVM: SVM: Stuff save->dr6 at during VMSA sync, not at RESET/INIT
Move code to stuff vmcb->save.dr6 to its architectural init value from
svm_vcpu_reset() into sev_es_sync_vmsa(). Except for protected guests,
a.k.a. SEV-ES guests, vmcb->save.dr6 is set during VM-Enter, i.e. the
extra write is unnecessary. For SEV-ES, stuffing save->dr6 handles a
theoretical case where the VMSA could be encrypted before the first
KVM_RUN.
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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions