diff options
| author | Sean Christopherson <[email protected]> | 2021-07-13 09:33:05 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-08-02 11:01:55 -0400 |
| commit | 32437c2aea428f9c3479904e342b02f5eee3a7f6 (patch) | |
| tree | 1ca275ef09566232864107634cdc2491196cb3f7 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 908b7d43c02c5f1f95beff66ce4ca30dfc3b134c (diff) | |
KVM: VMX: Process CR0.PG side effects after setting CR0 assets
Move the long mode and EPT w/o unrestricted guest side effect processing
down in vmx_set_cr0() so that the EPT && !URG case doesn't have to stuff
vcpu->arch.cr0 early. This also fixes an oddity where CR0 might not be
marked available, i.e. the early vcpu->arch.cr0 write would appear to be
in danger of being overwritten, though that can't actually happen in the
current code since CR0.TS is the only guest-owned bit, and CR0.TS is not
read by vmx_set_cr4().
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions