Searched refs:guest_paddr (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 604 uint64_t guest_paddr, uint32_t slot, uint64_t npages, in vm_userspace_mem_region_add() argument 616 TEST_ASSERT((guest_paddr % vm->page_size) == 0, "Guest physical " in vm_userspace_mem_region_add() 619 guest_paddr, vm->page_size); in vm_userspace_mem_region_add() 620 TEST_ASSERT((((guest_paddr >> vm->page_shift) + npages) - 1) in vm_userspace_mem_region_add() 625 guest_paddr, npages, vm->max_gfn, vm->page_size); in vm_userspace_mem_region_add() 632 vm, guest_paddr, (guest_paddr + npages * vm->page_size) - 1); in vm_userspace_mem_region_add() 639 guest_paddr, npages, vm->page_size, in vm_userspace_mem_region_add() 652 slot, guest_paddr, npages, in vm_userspace_mem_region_add() 710 guest_paddr >> vm->page_shift, npages); in vm_userspace_mem_region_add() 713 region->region.guest_phys_addr = guest_paddr; in vm_userspace_mem_region_add() [all …]
|
/Linux-v5.10/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 109 uint64_t guest_paddr, uint32_t slot, uint64_t npages,
|