Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c436 ucall_init(vm, slot0->region.guest_phys_addr + slot0->region.memory_size); in __vm_create()
527 " guest_phys_addr: 0x%llx size: 0x%llx", in kvm_vm_restart()
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()
801 if (region->region.guest_phys_addr < in vm_userspace_mem_region_gpa_insert()
802 cregion->region.guest_phys_addr) in vm_userspace_mem_region_gpa_insert()
805 TEST_ASSERT(region->region.guest_phys_addr != in vm_userspace_mem_region_gpa_insert()
806 cregion->region.guest_phys_addr, in vm_userspace_mem_region_gpa_insert()
849 .guest_phys_addr in __vm_set_user_memory_region()
[all...]
/linux/include/uapi/linux/
H A Dvhost_types.h114 __u64 guest_phys_addr; member
H A Dkvm.h28 __u64 guest_phys_addr; member
37 __u64 guest_phys_addr; member
/linux/tools/testing/selftests/kvm/aarch64/
H A 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/tools/testing/selftests/kvm/lib/x86_64/
H A Dsev.c20 const vm_paddr_t gpa_base = region->region.guest_phys_addr; in encrypt_region()
H A Dvmx.c506 i = (region->region.guest_phys_addr >> vm->page_shift) - 1; in nested_map_memslot()
/linux/tools/virtio/
H A Dvirtio_test.c147 dev->mem->regions[0].guest_phys_addr = (long)dev->buf; in vdev_info_init()
H A Dvhost_net_test.c244 dev->mem->regions[0].guest_phys_addr = (long)dev->buf; in vdev_info_init()
/linux/tools/include/uapi/linux/
H A Dkvm.h28 __u64 guest_phys_addr; member
37 __u64 guest_phys_addr; member
/linux/tools/testing/selftests/kvm/s390x/
H A Dcmma_test.c146 ucall_init(vm, slot0->region.guest_phys_addr + slot0->region.memory_size); in finish_vm_setup()
/linux/virt/kvm/
H A Dkvm_main.c1959 if (mem->guest_phys_addr & (PAGE_SIZE - 1)) in __kvm_set_memory_region()
1973 if (mem->guest_phys_addr + mem->memory_size < mem->guest_phys_addr) in __kvm_set_memory_region()
1996 base_gfn = (mem->guest_phys_addr >> PAGE_SHIFT); in __kvm_set_memory_region()
5049 SANITY_CHECK_MEM_REGION_FIELD(guest_phys_addr); in kvm_vm_ioctl()
/linux/drivers/vhost/
H A Dvhost.c1830 region->guest_phys_addr, in vhost_set_memory()
1831 region->guest_phys_addr + in vhost_set_memory()
/linux/arch/x86/kvm/
H A Dx86.c12833 m.guest_phys_addr = gpa; in __x86_set_memory_region()