Searched refs:guest_maxphyaddr (Results 1 – 1 of 1) sorted by relevance
1198 uint8_t maxphyaddr, guest_maxphyaddr; in vm_compute_max_gfn() local1206 guest_maxphyaddr = kvm_cpu_property(X86_PROPERTY_GUEST_MAX_PHY_ADDR); in vm_compute_max_gfn()1207 guest_maxphyaddr = guest_maxphyaddr ?: vm->pa_bits; in vm_compute_max_gfn()1208 TEST_ASSERT(guest_maxphyaddr <= vm->pa_bits, in vm_compute_max_gfn()1211 max_gfn = (1ULL << (guest_maxphyaddr - vm->page_shift)) - 1; in vm_compute_max_gfn()