Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dkvm_util.c315 struct vcpu *vcpu_find(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_find()
340 static void vm_vcpu_rm(struct kvm_vm *vm, uint32_t vcpuid) in vm_vcpu_rm()
733 void vm_vcpu_add(struct kvm_vm *vm, uint32_t vcpuid, int pgd_memslot, in vm_vcpu_add()
1049 struct kvm_run *vcpu_state(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_state()
1071 void vcpu_run(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_run()
1078 int _vcpu_run(struct kvm_vm *vm, uint32_t vcpuid) in _vcpu_run()
1105 void vcpu_set_mp_state(struct kvm_vm *vm, uint32_t vcpuid, in vcpu_set_mp_state()
1133 void vcpu_regs_get(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_regs *regs) in vcpu_regs_get()
1160 void vcpu_regs_set(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_regs *regs) in vcpu_regs_set()
1172 void vcpu_events_get(struct kvm_vm *vm, uint32_t vcpuid, in vcpu_events_get()
[all …]
/external/linux-kselftest/tools/testing/selftests/kvm/include/aarch64/
Dprocessor.h39 static inline void get_reg(struct kvm_vm *vm, uint32_t vcpuid, uint64_t id, uint64_t *addr) in get_reg()
47 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/lib/aarch64/
Dprocessor.c222 struct kvm_vm *vm_create_default(uint32_t vcpuid, uint64_t extra_mem_pages, in vm_create_default()
237 void vm_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, void *guest_code) in vm_vcpu_add_default()
251 void vcpu_setup(struct kvm_vm *vm, int vcpuid, int pgd_memslot, int gdt_memslot) in vcpu_setup()
301 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c615 void vcpu_setup(struct kvm_vm *vm, int vcpuid, int pgd_memslot, int gdt_memslot) in vcpu_setup()
652 void vm_vcpu_add_default(struct kvm_vm *vm, uint32_t vcpuid, void *guest_code) in vm_vcpu_add_default()
785 uint32_t vcpuid, struct kvm_cpuid2 *cpuid) in vcpu_set_cpuid()
812 struct kvm_vm *vm_create_default(uint32_t vcpuid, uint64_t extra_mem_pages, in vm_create_default()
855 uint64_t vcpu_get_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index) in vcpu_get_msr()
888 void vcpu_set_msr(struct kvm_vm *vm, uint32_t vcpuid, uint64_t msr_index, in vcpu_set_msr()
924 void vcpu_args_set(struct kvm_vm *vm, uint32_t vcpuid, unsigned int num, ...) in vcpu_args_set()
974 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump()
1018 struct kvm_x86_state *vcpu_save_state(struct kvm_vm *vm, uint32_t vcpuid) in vcpu_save_state()
1091 void vcpu_load_state(struct kvm_vm *vm, uint32_t vcpuid, struct kvm_x86_state *state) in vcpu_load_state()
/external/linux-kselftest/tools/testing/selftests/kvm/
Ddirty_log_test.c211 static struct kvm_vm *create_vm(enum vm_guest_mode mode, uint32_t vcpuid, in create_vm()