/external/linux-kselftest/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 424 uint32_t vcpuid = vcpuids ? vcpuids[i] : i; in vm_create_with_vcpus() local 440 struct kvm_vm *vm_create_default(uint32_t vcpuid, uint64_t extra_mem_pages, in vm_create_default() 599 struct vcpu *vcpu_find(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_find() 1174 void vm_vcpu_add(struct kvm_vm *vm, uint32_t vcpuid) in vm_vcpu_add() 1558 struct kvm_run *vcpu_state(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_state() 1580 void vcpu_run(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_run() 1587 int _vcpu_run(struct kvm_vm *vm, uint32_t vcpuid) in _vcpu_run() 1602 int vcpu_get_fd(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_get_fd() 1611 void vcpu_run_complete_io(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_run_complete_io() 1627 void vcpu_set_guest_debug(struct kvm_vm *vm, uint32_t vcpuid, in vcpu_set_guest_debug() [all …]
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/riscv/ |
D | processor.c | 182 void riscv_vcpu_mmu_setup(struct kvm_vm *vm, int vcpuid) in riscv_vcpu_mmu_setup() 205 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump() 277 void vm_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, void *guest_code) in vm_vcpu_add_default() 316 void vcpu_args_set(struct kvm_vm *vm, uint32_t vcpuid, unsigned int num, ...) in vcpu_args_set() 360 void assert_on_unhandled_exception(struct kvm_vm *vm, uint32_t vcpuid) in assert_on_unhandled_exception()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/s390x/ |
D | processor.c | 158 void vm_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, void *guest_code) in vm_vcpu_add_default() 189 void vcpu_args_set(struct kvm_vm *vm, uint32_t vcpuid, unsigned int num, ...) in vcpu_args_set() 209 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump() 220 void assert_on_unhandled_exception(struct kvm_vm *vm, uint32_t vcpuid) in assert_on_unhandled_exception()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 285 static struct pageTableEntry *_vm_get_page_table_entry(struct kvm_vm *vm, int vcpuid, in _vm_get_page_table_entry() 361 uint64_t vm_get_page_table_entry(struct kvm_vm *vm, int vcpuid, uint64_t vaddr) in vm_get_page_table_entry() 368 void vm_set_page_table_entry(struct kvm_vm *vm, int vcpuid, uint64_t vaddr, in vm_set_page_table_entry() 621 static void vcpu_setup(struct kvm_vm *vm, int vcpuid) in vcpu_setup() 707 void vm_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, void *guest_code) in vm_vcpu_add_default() 842 struct kvm_cpuid2 *vcpu_get_cpuid(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_get_cpuid() 905 int __vcpu_set_cpuid(struct kvm_vm *vm, uint32_t vcpuid, in __vcpu_set_cpuid() 930 uint32_t vcpuid, struct kvm_cpuid2 *cpuid) in vcpu_set_cpuid() 954 uint64_t vcpu_get_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index) in vcpu_get_msr() 988 int _vcpu_set_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index, in _vcpu_set_msr() [all …]
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 216 void aarch64_vcpu_setup(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_vcpu_init *init) in aarch64_vcpu_setup() 307 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump() 318 void aarch64_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, in aarch64_vcpu_add_default() 334 void vm_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, void *guest_code) in vm_vcpu_add_default() 339 void vcpu_args_set(struct kvm_vm *vm, uint32_t vcpuid, unsigned int num, ...) in vcpu_args_set() 364 void assert_on_unhandled_exception(struct kvm_vm *vm, uint32_t vcpuid) in assert_on_unhandled_exception() 386 void vcpu_init_descriptor_tables(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_init_descriptor_tables()
|
/external/linux-kselftest/tools/testing/selftests/kvm/ |
D | steal_time.c | 85 static void steal_time_dump(struct kvm_vm *vm, uint32_t vcpuid) in steal_time_dump() 206 static void steal_time_dump(struct kvm_vm *vm, uint32_t vcpuid) in steal_time_dump() 234 static void run_vcpu(struct kvm_vm *vm, uint32_t vcpuid) in run_vcpu()
|
D | dirty_log_test.c | 674 static struct kvm_vm *create_vm(enum vm_guest_mode mode, uint32_t vcpuid, in create_vm()
|
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/ |
D | set_boot_cpu_id.c | 50 static void run_vcpu(struct kvm_vm *vm, uint32_t vcpuid) in run_vcpu() 99 static void add_x86_vcpu(struct kvm_vm *vm, uint32_t vcpuid, bool bsp_code) in add_x86_vcpu()
|
D | tsc_msrs_test.c | 69 static void run_vcpu(struct kvm_vm *vm, uint32_t vcpuid, int stage) in run_vcpu()
|
D | cpuid_test.c | 121 static void run_vcpu(struct kvm_vm *vm, uint32_t vcpuid, int stage) in run_vcpu()
|
/external/linux-kselftest/tools/testing/selftests/kvm/include/riscv/ |
D | processor.h | 41 static inline void get_reg(struct kvm_vm *vm, uint32_t vcpuid, uint64_t id, in get_reg() 51 static inline void set_reg(struct kvm_vm *vm, uint32_t vcpuid, uint64_t id, in set_reg()
|
/external/linux-kselftest/tools/testing/selftests/kvm/include/aarch64/ |
D | processor.h | 50 static inline void get_reg(struct kvm_vm *vm, uint32_t vcpuid, uint64_t id, uint64_t *addr) in get_reg() 58 static inline void set_reg(struct kvm_vm *vm, uint32_t vcpuid, uint64_t id, uint64_t val) in set_reg()
|
/external/linux-kselftest/tools/testing/selftests/kvm/aarch64/ |
D | arch_timer.c | 80 uint32_t vcpuid; member 223 uint32_t vcpuid = vcpu->vcpuid; in test_vcpu_run() local
|
D | vgic_init.c | 55 static int run_vcpu(struct kvm_vm *vm, uint32_t vcpuid) in run_vcpu()
|
D | get-reg-list.c | 375 static void finalize_vcpu(struct kvm_vm *vm, uint32_t vcpuid, struct vcpu_config *c) in finalize_vcpu()
|