Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dvmx_dirty_log_test.c74 uint64_t *host_test_mem; in main() local
117 host_test_mem = addr_gpa2hva(vm, GUEST_TEST_MEM); in main()
120 memset(host_test_mem, 0xaa, TEST_MEM_SIZE * 4096); in main()
140 TEST_ASSERT(host_test_mem[0] == 1, "Page 0 not written by guest\n"); in main()
143 TEST_ASSERT(host_test_mem[0] == 0xaaaaaaaaaaaaaaaaULL, "Page 0 written by guest\n"); in main()
147 TEST_ASSERT(host_test_mem[4096 / 8] == 0xaaaaaaaaaaaaaaaaULL, "Page 1 written by guest\n"); in main()
149 TEST_ASSERT(host_test_mem[8192 / 8] == 0xaaaaaaaaaaaaaaaaULL, "Page 2 written by guest\n"); in main()
/external/linux-kselftest/tools/testing/selftests/kvm/
Ddirty_log_test.c123 static void *host_test_mem; variable
189 value_ptr = host_test_mem + page * host_page_size; in vm_dirty_log_verify()
339 host_test_mem = addr_gpa2hva(vm, (vm_paddr_t)guest_test_phys_mem); in run_test()