Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/include/
Dkvm_util.h284 struct kvm_vm *vm_create_default(uint32_t vcpuid, uint64_t extra_mem_pages,
288 struct kvm_vm *vm_create_default_with_vcpus(uint32_t nr_vcpus, uint64_t extra_mem_pages,
294 uint64_t slot0_mem_pages, uint64_t extra_mem_pages,
/tools/testing/selftests/kvm/lib/
Dkvm_util.c344 uint64_t slot0_mem_pages, uint64_t extra_mem_pages, in vm_create_with_vcpus() argument
363 extra_pg_pages = (slot0_mem_pages + extra_mem_pages + vcpu_pages) / PTES_PER_MIN_PAGE * 2; in vm_create_with_vcpus()
388 struct kvm_vm *vm_create_default_with_vcpus(uint32_t nr_vcpus, uint64_t extra_mem_pages, in vm_create_default_with_vcpus() argument
393 extra_mem_pages, num_percpu_pages, guest_code, vcpuids); in vm_create_default_with_vcpus()
396 struct kvm_vm *vm_create_default(uint32_t vcpuid, uint64_t extra_mem_pages, in vm_create_default() argument
399 return vm_create_default_with_vcpus(1, extra_mem_pages, 0, guest_code, in vm_create_default()
/tools/testing/selftests/kvm/
Ddirty_log_test.c675 uint64_t extra_mem_pages, void *guest_code) in create_vm() argument
678 uint64_t extra_pg_pages = extra_mem_pages / 512 * 2; in create_vm()