Home
last modified time | relevance | path

Searched refs:region_end_gfn (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dmemstress.c134 uint64_t region_end_gfn; in memstress_create_vm() local
177 region_end_gfn = vm->max_gfn + 1; in memstress_create_vm()
185 region_end_gfn = min(region_end_gfn, (1UL << 48) / args->guest_page_size); in memstress_create_vm()
191 TEST_ASSERT(guest_num_pages < region_end_gfn, in memstress_create_vm()
195 guest_num_pages, region_end_gfn - 1, nr_vcpus, vcpu_memory_bytes); in memstress_create_vm()
197 args->gpa = (region_end_gfn - guest_num_pages - 1) * args->guest_page_size; in memstress_create_vm()