diff options
author | Sean Christopherson <seanjc@google.com> | 2021-06-22 10:57:11 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-24 18:00:41 -0400 |
commit | ca8d664f509932eb316a4ae3926176be745e3b3d (patch) | |
tree | 2fcf82a5078f2b91cff342ba487b3bb68b86f8f2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6066772455f21ce1e90f003243c9864091621773 (diff) |
KVM: x86/mmu: Do not set paging-related bits in MMU role if CR0.PG=0
Don't set CR0/CR4/EFER bits in the MMU role if paging is disabled, paging
modifiers are irrelevant if there is no paging in the first place.
Somewhat arbitrarily clear gpte_is_8_bytes for shadow paging if paging is
disabled in the guest. Again, there are no guest PTEs to process, so the
size is meaningless.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-27-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