Home
last modified time | relevance | path

Searched defs:vcpuid (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/tools/testing/selftests/kvm/lib/
Dkvm_util.c380 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/
Dprocessor.c215 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/
Dprocessor.c285 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/
Dprocessor.c158 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/
Dsteal_time.c85 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()
Ddirty_log_test.c674 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/
Dset_boot_cpu_id.c50 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()
Dtsc_msrs_test.c69 static void run_vcpu(struct kvm_vm *vm, uint32_t vcpuid, int stage) in run_vcpu()
Dget_cpuid_test.c121 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/
Dprocessor.h46 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/
Dvgic_init.c52 static int run_vcpu(struct kvm_vm *vm, uint32_t vcpuid) in run_vcpu()
Dget-reg-list.c375 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/
Dhypercall.h392 HYPERVISOR_vcpu_op(int cmd, int vcpuid, void *extra_args) in HYPERVISOR_vcpu_op()
/Linux-v5.15/arch/powerpc/kvm/
Dbook3s_hv.c481 unsigned long vcpuid, unsigned long vpa) in do_h_register_vpa()