Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/lib/
A Dkvm_util.c375 uint32_t vcpuid = vcpuids ? vcpuids[i] : i; in vm_create_with_vcpus() local
548 struct vcpu *vcpu_find(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_find()
1123 void vm_vcpu_add(struct kvm_vm *vm, uint32_t vcpuid) in vm_vcpu_add()
1529 void vcpu_run(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_run()
1536 int _vcpu_run(struct kvm_vm *vm, uint32_t vcpuid) in _vcpu_run()
1551 int vcpu_get_fd(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_get_fd()
1697 void vcpu_events_get(struct kvm_vm *vm, uint32_t vcpuid, in vcpu_events_get()
1710 void vcpu_events_set(struct kvm_vm *vm, uint32_t vcpuid, in vcpu_events_set()
1865 void vcpu_ioctl(struct kvm_vm *vm, uint32_t vcpuid, in vcpu_ioctl()
1875 int _vcpu_ioctl(struct kvm_vm *vm, uint32_t vcpuid, in _vcpu_ioctl()
[all …]
/linux/tools/testing/selftests/kvm/lib/x86_64/
A Dprocessor.c368 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()
788 struct kvm_cpuid2 *vcpu_get_cpuid(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_get_cpuid()
865 uint32_t vcpuid, struct kvm_cpuid2 *cpuid) in vcpu_set_cpuid()
892 uint64_t vcpu_get_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index) in vcpu_get_msr()
926 int _vcpu_set_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index, in _vcpu_set_msr()
960 void vcpu_set_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index, in vcpu_set_msr()
1072 struct kvm_x86_state *vcpu_save_state(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_save_state()
1306 void vcpu_init_descriptor_tables(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_init_descriptor_tables()
1328 void assert_on_unhandled_exception(struct kvm_vm *vm, uint32_t vcpuid) in assert_on_unhandled_exception()
[all …]
/linux/tools/testing/selftests/kvm/lib/aarch64/
A Dprocessor.c215 void aarch64_vcpu_setup(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_vcpu_init *init) in aarch64_vcpu_setup()
283 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump()
294 void aarch64_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, in aarch64_vcpu_add_default()
310 void vm_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, void *guest_code) in vm_vcpu_add_default()
315 void vcpu_args_set(struct kvm_vm *vm, uint32_t vcpuid, unsigned int num, ...) in vcpu_args_set()
340 void assert_on_unhandled_exception(struct kvm_vm *vm, uint32_t vcpuid) in assert_on_unhandled_exception()
362 void vcpu_init_descriptor_tables(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_init_descriptor_tables()
/linux/tools/testing/selftests/kvm/lib/s390x/
A 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/tools/testing/selftests/kvm/
A 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()
A Ddirty_log_test.c674 static struct kvm_vm *create_vm(enum vm_guest_mode mode, uint32_t vcpuid, in create_vm()
/linux/tools/testing/selftests/kvm/x86_64/
A 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()
A Dtsc_msrs_test.c69 static void run_vcpu(struct kvm_vm *vm, uint32_t vcpuid, int stage) in run_vcpu()
A Dget_cpuid_test.c121 static void run_vcpu(struct kvm_vm *vm, uint32_t vcpuid, int stage) in run_vcpu()
/linux/tools/testing/selftests/kvm/include/aarch64/
A Dprocessor.h50 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()
/linux/tools/testing/selftests/kvm/aarch64/
A Darch_timer.c80 uint32_t vcpuid; member
223 uint32_t vcpuid = vcpu->vcpuid; in test_vcpu_run() local
A Dvgic_init.c55 static int run_vcpu(struct kvm_vm *vm, uint32_t vcpuid) in run_vcpu()
A Dget-reg-list.c375 static void finalize_vcpu(struct kvm_vm *vm, uint32_t vcpuid, struct vcpu_config *c) in finalize_vcpu()
/linux/arch/x86/include/asm/xen/
A Dhypercall.h462 HYPERVISOR_vcpu_op(int cmd, int vcpuid, void *extra_args) in HYPERVISOR_vcpu_op()
/linux/arch/powerpc/kvm/
A Dbook3s_hv.c481 unsigned long vcpuid, unsigned long vpa) in do_h_register_vpa()

Completed in 31 milliseconds