diff options
author | Sean Christopherson <seanjc@google.com> | 2021-06-22 20:57:13 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-25 01:00:42 +0300 |
commit | 18db1b1790a899880dc4afdb9ac6c82c91080d66 (patch) | |
tree | b5b344e2c21dc5b713d19b1dea42100b0c5fd6d7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 84c679f5f52c7a98c9f0986ff89d50dc073b97f3 (diff) | |
download | linux-18db1b1790a899880dc4afdb9ac6c82c91080d66.tar.xz |
KVM: x86/mmu: Always set new mmu_role immediately after checking old role
Refactor shadow MMU initialization to immediately set its new mmu_role
after verifying it differs from the old role, and so that all flavors
of MMU initialization share the same check-and-set pattern. Immediately
setting the role will allow future commits to use mmu_role to configure
the MMU without consuming stale state.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-29-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