/external/strace/tests/ |
D | ioctl_kvm_run_common.c | 171 run_kvm(const int vcpu_fd, struct kvm_run *const run, const size_t mmap_size, in run_kvm() argument 176 KVM_IOCTL(vcpu_fd, KVM_GET_SREGS, &sregs); in run_kvm() 177 printf("ioctl(%d<%s>, KVM_GET_SREGS, ", vcpu_fd, vcpu_dev); in run_kvm() 183 KVM_IOCTL(vcpu_fd, KVM_SET_SREGS, &sregs); in run_kvm() 184 printf("ioctl(%d<%s>, KVM_SET_SREGS, ", vcpu_fd, vcpu_dev); in run_kvm() 198 KVM_IOCTL(vcpu_fd, KVM_SET_REGS, ®s); in run_kvm() 199 printf("ioctl(%d<%s>, KVM_SET_REGS, ", vcpu_fd, vcpu_dev); in run_kvm() 210 KVM_IOCTL(vcpu_fd, KVM_RUN, NULL); in run_kvm() 211 print_KVM_RUN(vcpu_fd, vcpu_dev, run->exit_reason); in run_kvm() 338 int vcpu_fd = KVM_IOCTL(vm_fd, KVM_CREATE_VCPU, NULL); in main() local [all …]
|
/external/strace/tests-m32/ |
D | ioctl_kvm_run_common.c | 171 run_kvm(const int vcpu_fd, struct kvm_run *const run, const size_t mmap_size, in run_kvm() argument 176 KVM_IOCTL(vcpu_fd, KVM_GET_SREGS, &sregs); in run_kvm() 177 printf("ioctl(%d<%s>, KVM_GET_SREGS, ", vcpu_fd, vcpu_dev); in run_kvm() 183 KVM_IOCTL(vcpu_fd, KVM_SET_SREGS, &sregs); in run_kvm() 184 printf("ioctl(%d<%s>, KVM_SET_SREGS, ", vcpu_fd, vcpu_dev); in run_kvm() 198 KVM_IOCTL(vcpu_fd, KVM_SET_REGS, ®s); in run_kvm() 199 printf("ioctl(%d<%s>, KVM_SET_REGS, ", vcpu_fd, vcpu_dev); in run_kvm() 210 KVM_IOCTL(vcpu_fd, KVM_RUN, NULL); in run_kvm() 211 print_KVM_RUN(vcpu_fd, vcpu_dev, run->exit_reason); in run_kvm() 338 int vcpu_fd = KVM_IOCTL(vm_fd, KVM_CREATE_VCPU, NULL); in main() local [all …]
|
/external/strace/tests-mx32/ |
D | ioctl_kvm_run_common.c | 171 run_kvm(const int vcpu_fd, struct kvm_run *const run, const size_t mmap_size, in run_kvm() argument 176 KVM_IOCTL(vcpu_fd, KVM_GET_SREGS, &sregs); in run_kvm() 177 printf("ioctl(%d<%s>, KVM_GET_SREGS, ", vcpu_fd, vcpu_dev); in run_kvm() 183 KVM_IOCTL(vcpu_fd, KVM_SET_SREGS, &sregs); in run_kvm() 184 printf("ioctl(%d<%s>, KVM_SET_SREGS, ", vcpu_fd, vcpu_dev); in run_kvm() 198 KVM_IOCTL(vcpu_fd, KVM_SET_REGS, ®s); in run_kvm() 199 printf("ioctl(%d<%s>, KVM_SET_REGS, ", vcpu_fd, vcpu_dev); in run_kvm() 210 KVM_IOCTL(vcpu_fd, KVM_RUN, NULL); in run_kvm() 211 print_KVM_RUN(vcpu_fd, vcpu_dev, run->exit_reason); in run_kvm() 338 int vcpu_fd = KVM_IOCTL(vm_fd, KVM_CREATE_VCPU, NULL); in main() local [all …]
|
/external/crosvm/kvm/src/ |
D | lib.rs | 1129 let vcpu_fd = unsafe { ioctl_with_val(vm, KVM_CREATE_VCPU(), id) }; in new() localVariable 1130 if vcpu_fd < 0 { in new() 1136 let vcpu = unsafe { File::from_raw_fd(vcpu_fd) }; in new()
|