Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/kvm/lib/
Dkvm_util.c377 ucall_init(vm, slot0->region.guest_phys_addr + slot0->region.memory_size); in __vm_create()
463 region->region.guest_phys_addr, in kvm_vm_restart()
578 uint64_t existing_start = region->region.guest_phys_addr; in userspace_mem_region_find()
579 uint64_t existing_end = region->region.guest_phys_addr in userspace_mem_region_find()
836 if (region->region.guest_phys_addr < in vm_userspace_mem_region_gpa_insert()
837 cregion->region.guest_phys_addr) in vm_userspace_mem_region_gpa_insert()
840 TEST_ASSERT(region->region.guest_phys_addr != in vm_userspace_mem_region_gpa_insert()
841 cregion->region.guest_phys_addr, in vm_userspace_mem_region_gpa_insert()
884 .guest_phys_addr = gpa, in __vm_set_user_memory_region()
961 (uint64_t) region->region.guest_phys_addr, in vm_userspace_mem_region_add()
[all …]
/Linux-v6.6/include/uapi/linux/
Dvhost_types.h114 __u64 guest_phys_addr; member
Dkvm.h93 __u64 guest_phys_addr; member
/Linux-v6.6/tools/testing/selftests/kvm/aarch64/
Dpage_fault_test.c434 TEST_ASSERT_EQ(run->mmio.phys_addr, region->region.guest_phys_addr); in mmio_on_test_gpa_handler()
477 pte_pg = (pte_gpa - pt_region->region.guest_phys_addr) / getpagesize(); in handle_cmd()
560 virt_pg_map(vm, TEST_GVA, region->region.guest_phys_addr); in setup_gva_maps()
619 ucall_init(vm, region->region.guest_phys_addr + region->region.memory_size); in setup_ucall()
/Linux-v6.6/tools/virtio/
Dvirtio_test.c147 dev->mem->regions[0].guest_phys_addr = (long)dev->buf; in vdev_info_init()
/Linux-v6.6/tools/testing/selftests/kvm/s390x/
Dcmma_test.c151 ucall_init(vm, slot0->region.guest_phys_addr + slot0->region.memory_size); in finish_vm_setup()
/Linux-v6.6/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c506 i = (region->region.guest_phys_addr >> vm->page_shift) - 1; in nested_map_memslot()
/Linux-v6.6/virt/kvm/
Dkvm_main.c1971 if (mem->guest_phys_addr & (PAGE_SIZE - 1)) in __kvm_set_memory_region()
1981 if (mem->guest_phys_addr + mem->memory_size < mem->guest_phys_addr) in __kvm_set_memory_region()
2004 base_gfn = (mem->guest_phys_addr >> PAGE_SHIFT); in __kvm_set_memory_region()
/Linux-v6.6/drivers/vhost/
Dvhost.c1748 region->guest_phys_addr, in vhost_set_memory()
1749 region->guest_phys_addr + in vhost_set_memory()
/Linux-v6.6/tools/include/uapi/linux/
Dkvm.h93 __u64 guest_phys_addr; member
/Linux-v6.6/Documentation/virt/kvm/
Dapi.rst1307 __u64 guest_phys_addr;
1341 It is recommended that the lower 21 bits of guest_phys_addr and userspace_addr
/Linux-v6.6/arch/x86/kvm/
Dx86.c12462 m.guest_phys_addr = gpa; in __x86_set_memory_region()