Sean Christopherson c834e5e44f KVM: x86/mmu: Use '0' as the one and only value for an invalid PAE root
Use '0' to denote an invalid pae_root instead of '0' or INVALID_PAGE.
Unlike root_hpa, the pae_roots hold permission bits and thus are
guaranteed to be non-zero.  Having to deal with both values leads to
bugs, e.g. failing to set back to INVALID_PAGE, warning on the wrong
value, etc...

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210309224207.1218275-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-03-15 04:44:07 -04:00
..
2021-02-23 15:13:45 -08:00
2021-02-23 10:15:33 -08:00
2021-02-12 21:37:38 +01:00
2021-03-12 11:34:36 -08:00
2021-02-26 09:41:02 -08:00
2021-02-23 15:13:45 -08:00