Searched refs:gpages (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | steal_time.c | 249 unsigned int gpages; in main() local 266 gpages = vm_calc_num_guest_pages(VM_MODE_DEFAULT, STEAL_TIME_SIZE * NR_VCPUS); in main() 267 vm_userspace_mem_region_add(vm, VM_MEM_SRC_ANONYMOUS, ST_GPA_BASE, 1, gpages, 0); in main() 268 virt_map(vm, ST_GPA_BASE, ST_GPA_BASE, gpages); in main()
|
/openbmc/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | hypercalls.c | 157 unsigned int gpages; in steal_time_init() local 159 gpages = vm_calc_num_guest_pages(VM_MODE_DEFAULT, STEAL_TIME_SIZE); in steal_time_init() 160 vm_userspace_mem_region_add(vcpu->vm, VM_MEM_SRC_ANONYMOUS, ST_GPA_BASE, 1, gpages, 0); in steal_time_init()
|