Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/kvm/
Ddirty_log_test.c49 static uint64_t guest_num_pages; variable
70 addr += (READ_ONCE(random_array[i]) % guest_num_pages) in guest_code()
261 guest_num_pages = (1ul << (30 - guest_page_shift)); in run_test()
263 host_num_pages = (guest_num_pages * guest_page_size) / host_page_size + in run_test()
264 !!((guest_num_pages * guest_page_size) % host_page_size); in run_test()
267 guest_test_mem = (max_gfn - guest_num_pages) * guest_page_size; in run_test()
276 vm = create_vm(mode, VCPU_ID, guest_num_pages, guest_code); in run_test()
282 guest_num_pages, in run_test()
287 guest_num_pages * guest_page_size, 0); in run_test()
303 sync_global_to_guest(vm, guest_num_pages); in run_test()