Home
last modified time | relevance | path

Searched refs:vcpu (Results 1 – 17 of 17) 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()
317 struct vcpu *vcpup; in vcpu_find()
342 struct vcpu *vcpu = vcpu_find(vm, vcpuid); in vm_vcpu_rm() local
345 ret = munmap(vcpu->state, sizeof(*vcpu->state)); in vm_vcpu_rm()
348 close(vcpu->fd); in vm_vcpu_rm()
352 if (vcpu->next) in vm_vcpu_rm()
353 vcpu->next->prev = vcpu->prev; in vm_vcpu_rm()
354 if (vcpu->prev) in vm_vcpu_rm()
355 vcpu->prev->next = vcpu->next; in vm_vcpu_rm()
357 vm->vcpu_head = vcpu->next; in vm_vcpu_rm()
[all …]
Dkvm_util_internal.h38 struct vcpu { struct
39 struct vcpu *next, *prev; argument
55 struct vcpu *vcpu_head; argument
66 struct vcpu *vcpu_find(struct kvm_vm *vm, uint32_t vcpuid);
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c787 struct vcpu *vcpu = vcpu_find(vm, vcpuid); in vcpu_set_cpuid() local
790 TEST_ASSERT(vcpu != NULL, "vcpu not found, vcpuid: %u", vcpuid); in vcpu_set_cpuid()
792 rc = ioctl(vcpu->fd, KVM_SET_CPUID2, cpuid); in vcpu_set_cpuid()
857 struct vcpu *vcpu = vcpu_find(vm, vcpuid); in vcpu_get_msr() local
864 TEST_ASSERT(vcpu != NULL, "vcpu not found, vcpuid: %u", vcpuid); in vcpu_get_msr()
867 r = ioctl(vcpu->fd, KVM_GET_MSRS, &buffer.header); in vcpu_get_msr()
891 struct vcpu *vcpu = vcpu_find(vm, vcpuid); in vcpu_set_msr() local
898 TEST_ASSERT(vcpu != NULL, "vcpu not found, vcpuid: %u", vcpuid); in vcpu_set_msr()
903 r = ioctl(vcpu->fd, KVM_SET_MSRS, &buffer.header); in vcpu_set_msr()
1020 struct vcpu *vcpu = vcpu_find(vm, vcpuid); in vcpu_save_state() local
[all …]
/external/syzkaller/sys/fuchsia/
Dhypervisor_guests.txt12 zx_vcpu_resume(vcpu zx_vcpu, options const[0])
13 zx_vcpu_interrupt(vcpu zx_vcpu, vector int32)
14 zx_vcpu_read_state(vcpu zx_vcpu, kind int32, buffer buffer[in], buflen len[buffer])
15 zx_vcpu_write_state(vcpu zx_vcpu, kind int32, buffer buffer[out], buflen len[buffer])
/external/elfutils/tests/
Drun-unstrip-M.sh38 7f31ea3f9000-7f31ea3fc000 rw-s 00000000 00:09 3744 anon_inode:kvm-vcpu
39 7f31ea3fc000-7f31ea3ff000 rw-s 00000000 00:09 3744 anon_inode:kvm-vcpu
/external/strace/tests-mx32/
Dioctl_kvm_run_auxstr_vcpu.gen.test3 set -- -a36 -y -e kvm=vcpu
Dgen_tests.in144 ioctl_kvm_run_auxstr_vcpu +ioctl.test -a36 -y -e kvm=vcpu
/external/strace/tests/
Dioctl_kvm_run_auxstr_vcpu.gen.test3 set -- -a36 -y -e kvm=vcpu
Dgen_tests.in144 ioctl_kvm_run_auxstr_vcpu +ioctl.test -a36 -y -e kvm=vcpu
/external/strace/tests-m32/
Dioctl_kvm_run_auxstr_vcpu.gen.test3 set -- -a36 -y -e kvm=vcpu
Dgen_tests.in144 ioctl_kvm_run_auxstr_vcpu +ioctl.test -a36 -y -e kvm=vcpu
/external/syzkaller/pkg/report/testdata/linux/report/
D3522 [ 37.540576] &vcpu->mutex
/external/u-boot/arch/arm/dts/
Dmeson-gx.dtsi162 clock-output-names = "vcpu";
/external/kernel-headers/original/uapi/linux/
Dkvm.h1018 __u32 vcpu; member
/external/strace/
DNEWS28 * Implemented decoding of kvm vcpu exit reason (-e kvm=vcpu option),
DChangeLog1270 tests: check decoding of vcpu auxstr.
1288 strace.1.in: document -e kvm=vcpu option.
1289 * strace.1.in (-e kvm=vcpu): Document new option.
1290 * NEWS: Mention -e kvm=vcpu option.
1296 kvm: attach the exit reason of vcpu as auxstr to KVM_RUN output.
1297 In KVM, a virtual machine implementation like Qemu can access a vcpu
1298 via ioctl. KVM_RUN is an ioctl command to enter vcpu. The command
1304 change prints the reason as auxstr if "-e kvm=vcpu" option is given,
1306 e46b469278a59781f9b25ff608af84892963821b, "kvm: embed vcpu id to dentry
1307 of vcpu anon inode."
[all …]
/external/syzkaller/sys/linux/
Dkvm.txt440 vcpu int32