Searched refs:KVM_CREATE_VCPU (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | mmio_warning_test.c | 64 kvmcpu = ioctl(kvmvm, KVM_CREATE_VCPU, 0); in test() 65 TEST_ASSERT(kvmcpu != -1, KVM_IOCTL_ERROR(KVM_CREATE_VCPU, kvmcpu)); in test()
|
H A D | max_vcpuid_cap_test.c | 39 ret = __vm_ioctl(vm, KVM_CREATE_VCPU, (void *)MAX_VCPU_ID); in main()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | processor.c | 510 vcpu_fd = ioctl(vm_fd, KVM_CREATE_VCPU, 0); in aarch64_get_supported_page_sizes() 511 TEST_ASSERT(vcpu_fd >= 0, KVM_IOCTL_ERROR(KVM_CREATE_VCPU, vcpu_fd)); in aarch64_get_supported_page_sizes()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | 1229 vcpu->fd = __vm_ioctl(vm, KVM_CREATE_VCPU, (void *)(unsigned long)vcpu_id); in __vm_vcpu_add() 1230 TEST_ASSERT(vcpu->fd >= 0, KVM_IOCTL_ERROR(KVM_CREATE_VCPU, vcpu->fd)); in __vm_vcpu_add()
|
/openbmc/qemu/linux-headers/linux/ |
H A D | kvm.h | 1165 #define KVM_CREATE_VCPU _IO(KVMIO, 0x41) macro
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | kvm.h | 1461 #define KVM_CREATE_VCPU _IO(KVMIO, 0x41) macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | kvm.h | 1468 #define KVM_CREATE_VCPU _IO(KVMIO, 0x41) macro
|
/openbmc/qemu/target/arm/ |
H A D | kvm.c | 139 cpufd = ioctl(vmfd, KVM_CREATE_VCPU, 0); in kvm_arm_create_scratch_host_vcpu()
|
/openbmc/qemu/target/riscv/kvm/ |
H A D | kvm-cpu.c | 903 cpufd = ioctl(vmfd, KVM_CREATE_VCPU, 0); in kvm_riscv_create_scratch_vcpu()
|
/openbmc/qemu/accel/kvm/ |
H A D | kvm-all.c | 450 kvm_fd = kvm_vm_ioctl(s, KVM_CREATE_VCPU, vcpu_id); in kvm_create_vcpu()
|
/openbmc/linux/virt/kvm/ |
H A D | kvm_main.c | 4802 case KVM_CREATE_VCPU: in kvm_vm_ioctl()
|
/openbmc/linux/Documentation/virt/kvm/ |
H A D | api.rst | 45 ioctls. A KVM_CREATE_VCPU or KVM_CREATE_DEVICE ioctl on a VM fd will 275 4.7 KVM_CREATE_VCPU 1575 as the vcpu id in KVM_CREATE_VCPU. If this ioctl is not called, the default
|