Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dkvm_util.c436 ucall_init(vm, slot0->region.guest_phys_addr + slot0->region.memory_size); in __vm_create()
530 region->region.guest_phys_addr, in kvm_vm_restart()
645 uint64_t existing_start = region->region.guest_phys_addr; in userspace_mem_region_find()
646 uint64_t existing_end = region->region.guest_phys_addr in userspace_mem_region_find()
804 if (region->region.guest_phys_addr < in vm_userspace_mem_region_gpa_insert()
805 cregion->region.guest_phys_addr) in vm_userspace_mem_region_gpa_insert()
808 TEST_ASSERT(region->region.guest_phys_addr != in vm_userspace_mem_region_gpa_insert()
809 cregion->region.guest_phys_addr, in vm_userspace_mem_region_gpa_insert()
852 .guest_phys_addr = gpa, in __vm_set_user_memory_region()
880 .guest_phys_addr = gpa, in __vm_set_user_memory_region2()
[all …]
/linux-6.12.1/include/uapi/linux/
Dvhost_types.h114 __u64 guest_phys_addr; member
Dkvm.h28 __u64 guest_phys_addr; member
37 __u64 guest_phys_addr; member
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Dpage_fault_test.c433 TEST_ASSERT_EQ(run->mmio.phys_addr, region->region.guest_phys_addr); in mmio_on_test_gpa_handler()
476 pte_pg = (pte_gpa - pt_region->region.guest_phys_addr) / getpagesize(); in handle_cmd()
559 virt_pg_map(vm, TEST_GVA, region->region.guest_phys_addr); in setup_gva_maps()
618 ucall_init(vm, region->region.guest_phys_addr + region->region.memory_size); in setup_ucall()
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/
Dsev.c20 const vm_paddr_t gpa_base = region->region.guest_phys_addr; in encrypt_region()
Dvmx.c506 i = (region->region.guest_phys_addr >> vm->page_shift) - 1; in nested_map_memslot()
/linux-6.12.1/tools/virtio/
Dvirtio_test.c147 dev->mem->regions[0].guest_phys_addr = (long)dev->buf; in vdev_info_init()
Dvhost_net_test.c244 dev->mem->regions[0].guest_phys_addr = (long)dev->buf; in vdev_info_init()
/linux-6.12.1/tools/include/uapi/linux/
Dkvm.h28 __u64 guest_phys_addr; member
37 __u64 guest_phys_addr; member
/linux-6.12.1/tools/testing/selftests/kvm/s390x/
Dcmma_test.c146 ucall_init(vm, slot0->region.guest_phys_addr + slot0->region.memory_size); in finish_vm_setup()
/linux-6.12.1/virt/kvm/
Dkvm_main.c2005 if (mem->guest_phys_addr & (PAGE_SIZE - 1)) in __kvm_set_memory_region()
2019 if (mem->guest_phys_addr + mem->memory_size < mem->guest_phys_addr) in __kvm_set_memory_region()
2042 base_gfn = (mem->guest_phys_addr >> PAGE_SHIFT); in __kvm_set_memory_region()
5184 SANITY_CHECK_MEM_REGION_FIELD(guest_phys_addr); in kvm_vm_ioctl()
/linux-6.12.1/drivers/vhost/
Dvhost.c1830 region->guest_phys_addr, in vhost_set_memory()
1831 region->guest_phys_addr + in vhost_set_memory()
/linux-6.12.1/Documentation/virt/kvm/
Dapi.rst1347 __u64 guest_phys_addr;
1381 It is recommended that the lower 21 bits of guest_phys_addr and userspace_addr
6278 __u64 guest_phys_addr;
/linux-6.12.1/arch/x86/kvm/
Dx86.c12842 m.guest_phys_addr = gpa; in __x86_set_memory_region()