Lines Matching refs:ioctl

11    whole kvm subsystem.  In addition a system ioctl is used to create
15 machine, for example memory layout. In addition a VM ioctl is used to
33 can be used to issue system ioctls. A KVM_CREATE_VM ioctl on this
35 ioctls. A KVM_CREATE_VCPU ioctl on a VM fd will create a virtual cpu
66 For each ioctl, the following information is provided along with a
69 Capability: which KVM extension provides this ioctl. Can be 'basic',
74 support this ioctl, there's no capability bit to check its
75 availability: for kernels that don't support the ioctl,
76 the ioctl returns -ENOTTY.
78 Architectures: which instruction set architectures provide this ioctl.
83 Parameters: what parameters are accepted by the ioctl.
93 Type: system ioctl
109 Type: system ioctl
141 This ioctl returns the guest msrs that are supported. The list varies
149 of banks, as set via the KVM_X86_SETUP_MCE ioctl.
154 Capability: basic, KVM_CAP_CHECK_EXTENSION_VM for vm ioctl
156 Type: system ioctl, vm ioctl
167 It is thus encouraged to use the vm ioctl to query for capabilities (available
174 Type: system ioctl
178 The KVM_RUN ioctl (cf.) communicates with userspace via a shared
179 memory region. This ioctl returns the size of that region. See the
187 Type: vm ioctl
191 This ioctl is obsolete and has been removed.
198 Type: vm ioctl
206 the KVM_CHECK_EXTENSION ioctl() at run-time.
208 KVM_CAP_MAX_VCPUS of the KVM_CHECK_EXTENSION ioctl() at run-time.
234 4.8 KVM_GET_DIRTY_LOG (vm ioctl)
238 Type: vm ioctl
253 since the last call to this ioctl. Bit 0 is the first page in the
262 Type: vm ioctl
266 This ioctl is obsolete and has been removed.
273 Type: vcpu ioctl
279 This ioctl is used to run a guest virtual cpu. While there are no
290 Type: vcpu ioctl
320 Type: vcpu ioctl
333 Type: vcpu ioctl
361 Type: vcpu ioctl
373 Type: vcpu ioctl
397 Type: vcpu ioctl
416 Queues an external interrupt to be injected. This ioctl is overleaded
433 interrupt stays pending until a specific ioctl with KVM_INTERRUPT_UNSET
451 Type: vcpu ioctl
462 Type: vcpu ioctl
491 Type: vcpu ioctl
507 Type: vcpu ioctl
512 should use the KVM_SET_CPUID2 ioctl if available.
536 Type: vcpu ioctl
559 Type: vcpu ioctl
585 Type: vcpu ioctl
611 Type: vm ioctl
632 Type: vm ioctl
686 Type: vm ioctl
708 Type: vm ioctl
730 Type: vm ioctl
755 Type: vm ioctl
774 Type: vm ioctl
794 Type: vm ioctl
834 Type: vm ioctl
860 Type: vm ioctl
879 Type: vm ioctl
893 Type: vm ioctl
909 This ioctl allows the user to create or modify a guest physical memory
925 writes to memory within the slot. See KVM_GET_DIRTY_LOG ioctl to know how to
935 It is recommended to use this API instead of the KVM_SET_MEMORY_REGION ioctl.
944 Type: vm ioctl
948 This ioctl defines the physical address of a three-page region in the guest
954 This ioctl is required on Intel-based hosts. This is needed on Intel hardware
963 Type: vcpu ioctl, vm ioctl (with KVM_CAP_ENABLE_CAP_VM)
967 +Not all extensions are enabled by default. Using this ioctl the application
970 On systems that do not support this ioctl, it always fails. On systems that
973 To check if a capability can be enabled, the KVM_CHECK_EXTENSION ioctl should
994 The vcpu ioctl should be used for vcpu-specific capabilities, the vm ioctl
1001 Type: vcpu ioctl
1030 On x86, this ioctl is only useful after KVM_CREATE_IRQCHIP. Without an
1043 Type: vcpu ioctl
1050 On x86, this ioctl is only useful after KVM_CREATE_IRQCHIP. Without an
1063 Type: vm ioctl
1067 This ioctl defines the physical address of a one-page region in the guest
1073 This ioctl is required on Intel-based hosts. This is needed on Intel hardware
1082 Type: vm ioctl
1087 as the vcpu id in KVM_CREATE_VCPU. If this ioctl is not called, the default
1095 Type: vcpu ioctl
1103 This ioctl would copy current vcpu's xsave struct to the userspace.
1110 Type: vcpu ioctl
1118 This ioctl would copy userspace's xsave struct to the kernel.
1125 Type: vcpu ioctl
1142 This ioctl would copy current vcpu's xcrs to the userspace.
1149 Type: vcpu ioctl
1166 This ioctl would set vcpu's xcr to the value userspace specified.
1173 Type: system ioctl
1198 This ioctl returns x86 cpuid features which are supported by both the hardware
1199 and kvm. Userspace can use the information returned by this ioctl to
1238 ioctl(KVM_CHECK_EXTENSION, KVM_CAP_TSC_DEADLINE_TIMER)
1248 Type: vm ioctl
1258 This ioctl fetches PV specific information that need to be passed to the guest
1275 Type: vm ioctl
1311 device assignment. The user requesting this ioctl must have read/write
1315 ENOTTY: kernel does not support this ioctl
1325 Type: vm ioctl
1335 ENOTTY: kernel does not support this ioctl
1344 Type: vm ioctl
1374 ENOTTY: kernel does not support this ioctl
1384 Type: vm ioctl
1399 Type: vm ioctl
1458 Type: vm ioctl
1480 Type: vm ioctl
1495 ENOTTY: kernel does not support this ioctl
1505 Type: vcpu ioctl
1517 Type: vcpu ioctl
1522 KHz. If the host has unstable tsc this ioctl returns -EIO instead as an
1530 Type: vcpu ioctl
1547 Type: vcpu ioctl
1564 Type: vm ioctl
1568 This ioctl attaches or detaches an ioeventfd to a legal pio/mmio address
1603 Type: vcpu ioctl
1636 Type: vm ioctl
1649 physical device command register by calling this ioctl to inform the kernel of
1670 Type: vm ioctl
1691 table has been created using this ioctl(), the kernel will handle it
1706 Type: vm ioctl
1724 passed to the KVM_SET_USER_MEMORY_REGION ioctl to establish it as the
1729 The KVM_CAP_PPC_RMA capability is 1 or 2 if the KVM_ALLOCATE_RMA ioctl
1739 Type: vcpu ioctl
1765 Type: vcpu ioctl
1776 This ioctl maps the memory at "user_addr" with the length "length" to
1785 Type: vcpu ioctl
1796 This ioctl unmaps the memory in the vcpu's address space starting at
1805 Type: vcpu ioctl
1815 prior to calling the KVM_RUN ioctl.
1822 Type: vcpu ioctl
1831 Using this ioctl, a single vcpu register can be set to a specific value
2074 Type: vcpu ioctl
2078 This ioctl allows to receive the value of a single register implemented
2091 Type: vcpu ioctl
2104 itself or when a soft lockup is detected. This ioctl can be called any time
2112 Type: vm ioctl
2134 Type: vm ioctl
2166 Type: vm ioctl
2191 Type: vm ioctl
2205 Type: vm ioctl
2275 Type: vm ioctl
2308 Type: vm ioctl
2315 virtualization. Otherwise the capability doesn't exist and the ioctl
2319 There must be no vcpus running when this ioctl is called; if there
2325 ioctl, it will have been updated with the order of the hash table that
2329 (with the KVM_RUN ioctl), the host kernel will allocate a
2332 If this ioctl is called when a hash table has already been allocated,
2342 Type: vm ioctl, vcpu ioctl
2347 (vm ioctl) or per cpu (vcpu ioctl), depending on the interrupt type.
2377 supported by this ioctl)
2379 Note that the vcpu ioctl is asynchronous to vcpu execution.
2385 Type: vm ioctl
2438 Type: vm ioctl
2469 Type: device ioctl, vm ioctl
2495 Type: device ioctl, vm ioctl
2510 Type: vcpu ioctl
2523 should be created before this ioctl is invoked.
2544 Type: vm ioctl
2553 The ioctl returns struct kvm_vcpu_init instance containing information
2559 The information returned by this ioctl can be used to prepare an instance
2560 of struct kvm_vcpu_init for KVM_ARM_VCPU_INIT ioctl which will result in
2568 Type: vcpu ioctl
2580 This ioctl returns the guest registers that are supported for the
2588 Type: vm ioctl
2617 mapping of the VGIC virtual CPU and distributor interface, the ioctl
2619 KVM_RUN on any of the VCPUs. Calling this ioctl twice for any of the
2630 Type: vm ioctl
2649 Type: vcpu ioctl
2694 Type: system ioctl
2721 This ioctl returns x86 cpuid features which are emulated by
2722 kvm.Userspace can use the information returned by this ioctl to query
2764 Type: vcpu ioctl
2791 ioctl returns a positive error number to indicate the type of exception.
2810 Type: vm ioctl
2815 This ioctl is used to get guest storage key values on the s390
2816 architecture. The ioctl takes parameters via the kvm_s390_skeys struct.
2832 will cause the ioctl to return -EINVAL.
2835 bytes. This buffer will be filled with storage key data by the ioctl.
2841 Type: vm ioctl
2845 This ioctl is used to set guest storage key values on the s390
2846 architecture. The ioctl takes parameters via the kvm_s390_skeys struct.
2855 will cause the ioctl to return -EINVAL.
2862 the ioctl will return -EINVAL.
2868 Type: vcpu ioctl
2917 Note that the vcpu ioctl is asynchronous to vcpu execution.
2923 Type: vcpu ioctl
2930 This ioctl allows userspace to retrieve the complete state of all currently
2952 Type: vcpu ioctl
2961 This ioctl allows userspace to set the complete state of all cpu-local
2975 ioctl aborts.
2987 ioctl, and obtain information about the reason KVM_RUN returned by
3303 Architectures: which instruction set architectures provide this ioctl.
3489 Architectures: which instruction set architectures provide this ioctl.
3516 implementation, the KVM_ENABLE_CAP ioctl will fail with an EINVAL