Home
last modified time | relevance | path

Searched refs:host_test_mem (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dvmx_dirty_log_test.c85 uint64_t *host_test_mem; in test_vmx_dirty_log() local
130 host_test_mem = addr_gpa2hva(vm, GUEST_TEST_MEM); in test_vmx_dirty_log()
133 memset(host_test_mem, 0xaa, TEST_MEM_PAGES * 4096); in test_vmx_dirty_log()
149 TEST_ASSERT(host_test_mem[0] == 1, "Page 0 not written by guest"); in test_vmx_dirty_log()
152 TEST_ASSERT(host_test_mem[0] == 0xaaaaaaaaaaaaaaaaULL, "Page 0 written by guest"); in test_vmx_dirty_log()
156 TEST_ASSERT(host_test_mem[4096 / 8] == 0xaaaaaaaaaaaaaaaaULL, "Page 1 written by guest"); in test_vmx_dirty_log()
158 TEST_ASSERT(host_test_mem[8192 / 8] == 0xaaaaaaaaaaaaaaaaULL, "Page 2 written by guest"); in test_vmx_dirty_log()
/linux-6.12.1/tools/testing/selftests/kvm/
Dkvm_page_table_test.c246 void *host_test_mem; in pre_init_before_test() local
287 host_test_mem = addr_gpa2hva(vm, (vm_paddr_t)guest_test_phys_mem); in pre_init_before_test()
310 (uint64_t)host_test_mem); in pre_init_before_test()
Ddirty_log_test.c130 static void *host_test_mem; variable
556 value_ptr = host_test_mem + page * host_page_size; in vm_dirty_log_verify()
752 host_test_mem = addr_gpa2hva(vm, (vm_paddr_t)guest_test_phys_mem); in run_test()