mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 13:22:55 +00:00
KVM: make MMU_DEBUG compile again
the cr3 variable is now inside the vcpu->arch structure. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
5e4a0b3c1b
commit
24993d5349
@ -1182,7 +1182,7 @@ void kvm_mmu_flush_tlb(struct kvm_vcpu *vcpu)
|
||||
|
||||
static void paging_new_cr3(struct kvm_vcpu *vcpu)
|
||||
{
|
||||
pgprintk("%s: cr3 %lx\n", __FUNCTION__, vcpu->cr3);
|
||||
pgprintk("%s: cr3 %lx\n", __FUNCTION__, vcpu->arch.cr3);
|
||||
mmu_free_roots(vcpu);
|
||||
}
|
||||
|
||||
|
@ -143,7 +143,7 @@ walk:
|
||||
}
|
||||
#endif
|
||||
ASSERT((!is_long_mode(vcpu) && is_pae(vcpu)) ||
|
||||
(vcpu->cr3 & CR3_NONPAE_RESERVED_BITS) == 0);
|
||||
(vcpu->arch.cr3 & CR3_NONPAE_RESERVED_BITS) == 0);
|
||||
|
||||
pt_access = ACC_ALL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user