/Linux-v5.15/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 380 uint32_t vcpuid = vcpuids ? vcpuids[i] : i; in vm_create_with_vcpus() local 396 struct kvm_vm *vm_create_default(uint32_t vcpuid, uint64_t extra_mem_pages, in vm_create_default() 553 struct vcpu *vcpu_find(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_find() 1115 void vm_vcpu_add(struct kvm_vm *vm, uint32_t vcpuid) in vm_vcpu_add() 1499 struct kvm_run *vcpu_state(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_state() 1521 void vcpu_run(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_run() 1528 int _vcpu_run(struct kvm_vm *vm, uint32_t vcpuid) in _vcpu_run() 1543 int vcpu_get_fd(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_get_fd() 1552 void vcpu_run_complete_io(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_run_complete_io() 1568 void vcpu_set_guest_debug(struct kvm_vm *vm, uint32_t vcpuid, in vcpu_set_guest_debug() [all …]
|
/Linux-v5.15/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 215 void aarch64_vcpu_setup(struct kvm_vm *vm, int vcpuid, struct kvm_vcpu_init *init) in aarch64_vcpu_setup() 282 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump() 293 void aarch64_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, in aarch64_vcpu_add_default() 309 void vm_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, void *guest_code) in vm_vcpu_add_default() 314 void vcpu_args_set(struct kvm_vm *vm, uint32_t vcpuid, unsigned int num, ...) in vcpu_args_set() 339 void assert_on_unhandled_exception(struct kvm_vm *vm, uint32_t vcpuid) in assert_on_unhandled_exception() 361 void vcpu_init_descriptor_tables(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_init_descriptor_tables()
|
/Linux-v5.15/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() 653 void vm_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, void *guest_code) in vm_vcpu_add_default() 790 struct kvm_cpuid2 *vcpu_get_cpuid(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_get_cpuid() 867 uint32_t vcpuid, struct kvm_cpuid2 *cpuid) in vcpu_set_cpuid() 894 uint64_t vcpu_get_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index) in vcpu_get_msr() 928 int _vcpu_set_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index, in _vcpu_set_msr() 962 void vcpu_set_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index, in vcpu_set_msr() [all …]
|
/Linux-v5.15/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()
|
/Linux-v5.15/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()
|
/Linux-v5.15/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 | get_cpuid_test.c | 121 static void run_vcpu(struct kvm_vm *vm, uint32_t vcpuid, int stage) in run_vcpu()
|
/Linux-v5.15/tools/testing/selftests/kvm/include/aarch64/ |
D | processor.h | 46 static inline void get_reg(struct kvm_vm *vm, uint32_t vcpuid, uint64_t id, uint64_t *addr) in get_reg() 54 static inline void set_reg(struct kvm_vm *vm, uint32_t vcpuid, uint64_t id, uint64_t val) in set_reg()
|
/Linux-v5.15/tools/testing/selftests/kvm/aarch64/ |
D | vgic_init.c | 52 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()
|
/Linux-v5.15/arch/x86/include/asm/xen/ |
D | hypercall.h | 392 HYPERVISOR_vcpu_op(int cmd, int vcpuid, void *extra_args) in HYPERVISOR_vcpu_op()
|
/Linux-v5.15/arch/powerpc/kvm/ |
D | book3s_hv.c | 481 unsigned long vcpuid, unsigned long vpa) in do_h_register_vpa()
|