Lines Matching refs:vcpu

21  - vcpu ioctls: These query and set attributes that control the operation
24 Only run vcpu ioctls from the same thread that was used to create the
25 vcpu.
36 and return a file descriptor pointing to it. Finally, ioctls on a vcpu
37 fd can be used to control the vcpu, including the important task of
45 and one vcpu per thread.
81 Type: system, vm, or vcpu.
176 Returns: size of vcpu mmap area, in bytes
199 Parameters: vcpu id (apic id on x86)
200 Returns: vcpu fd on success, -1 on error
202 This API adds a vcpu to a virtual machine. The vcpu id is a small integer
220 dividing the vcpu id by the number of vcpus per vcore. The vcpus in a
224 allocation of vcpu ids. For example, if userspace wants
225 single-threaded guest vcpus, it should make all vcpu ids be a multiple
229 machines, the resulting vcpu fd can be memory mapped at page offset
278 Type: vcpu ioctl
286 obtained by mmap()ing the vcpu fd at offset 0, with the size given by
295 Type: vcpu ioctl
299 Reads the general purpose registers from the vcpu.
325 Type: vcpu ioctl
329 Writes the general purpose registers into the vcpu.
338 Type: vcpu ioctl
342 Reads special registers from the vcpu.
366 Type: vcpu ioctl
370 Writes special registers into the vcpu. See KVM_GET_SREGS for the
378 Type: vcpu ioctl
382 Translates a virtual address according to the vcpu's current address
402 Type: vcpu ioctl
462 Type: vcpu ioctl
473 Type: vcpu ioctl
477 Reads model-specific registers from the vcpu. Supported msr indices can
502 Type: vcpu ioctl
506 Writes model-specific registers to the vcpu. See KVM_GET_MSRS for the
518 Type: vcpu ioctl
522 Defines the vcpu responses to the cpuid instruction. Applications
547 Type: vcpu ioctl
570 Type: vcpu ioctl
574 Reads the floating point state from the vcpu.
596 Type: vcpu ioctl
600 Writes the floating point state to the vcpu.
748 page of a blob (32- or 64-bit, depending on the vcpu mode) to guest
810 states of the vcpu.
860 vcpu.
888 Reads debug registers from the vcpu.
907 Writes debug registers into the vcpu.
995 Type: vcpu ioctl, vm ioctl (with KVM_CAP_ENABLE_CAP_VM)
1026 The vcpu ioctl should be used for vcpu-specific capabilities, the vm ioctl
1033 Type: vcpu ioctl
1041 Returns the vcpu's current "multiprocessing state" (though also valid on
1046 - KVM_MP_STATE_RUNNABLE: the vcpu is currently running [x86,arm/arm64]
1047 - KVM_MP_STATE_UNINITIALIZED: the vcpu is an application processor (AP)
1049 - KVM_MP_STATE_INIT_RECEIVED: the vcpu has received an INIT signal, and is
1051 - KVM_MP_STATE_HALTED: the vcpu has executed a HLT instruction and
1053 - KVM_MP_STATE_SIPI_RECEIVED: the vcpu has just received a SIPI (vector
1055 - KVM_MP_STATE_STOPPED: the vcpu is stopped [s390,arm/arm64]
1056 - KVM_MP_STATE_CHECK_STOP: the vcpu is in a special error state [s390]
1057 - KVM_MP_STATE_OPERATING: the vcpu is operating (running or halted)
1059 - KVM_MP_STATE_LOAD: the vcpu is in a special load/startup state
1069 KVM_MP_STATE_RUNNABLE which reflect if the vcpu is paused or not.
1075 Type: vcpu ioctl
1079 Sets the vcpu's current "multiprocessing state"; see KVM_GET_MP_STATE for
1089 KVM_MP_STATE_RUNNABLE which reflect if the vcpu should be paused or not.
1118 Define which vcpu is the Bootstrap Processor (BSP). Values are the same
1119 as the vcpu id in KVM_CREATE_VCPU. If this ioctl is not called, the default
1120 is vcpu 0.
1127 Type: vcpu ioctl
1135 This ioctl would copy current vcpu's xsave struct to the userspace.
1142 Type: vcpu ioctl
1157 Type: vcpu ioctl
1174 This ioctl would copy current vcpu's xcrs to the userspace.
1181 Type: vcpu ioctl
1198 This ioctl would set vcpu's xcr to the value userspace specified.
1537 Type: vcpu ioctl
1549 Type: vcpu ioctl
1562 Type: vcpu ioctl
1579 Type: vcpu ioctl
1639 Type: vcpu ioctl
1649 TLB, prior to calling KVM_RUN on the associated vcpu.
1775 Type: vcpu ioctl
1779 Queues an NMI on the thread's vcpu. Note this is well defined only
1787 - pause the vcpu
1791 - resume the vcpu
1801 Type: vcpu ioctl
1813 the vcpu's address space starting at "vcpu_addr". All parameters need to
1821 Type: vcpu ioctl
1832 This ioctl unmaps the memory in the vcpu's address space starting at
1841 Type: vcpu ioctl
1842 Parameters: vcpu absolute address (in)
1858 Type: vcpu ioctl
1867 Using this ioctl, a single vcpu register can be set to a specific value
2110 Type: vcpu ioctl
2115 in a vcpu. The register to read is indicated by the "id" field of the
2127 Type: vcpu ioctl
2141 after pausing the vcpu, but before it is resumed.
2364 If no hash table has been allocated when any vcpu is asked to run
2372 re-create the VMRA HPTEs on the next KVM_RUN of any vcpu.)
2378 Type: vm ioctl, vcpu ioctl
2383 (vm ioctl) or per cpu (vcpu ioctl), depending on the interrupt type.
2395 KVM_S390_SIGP_STOP (vcpu) - sigp stop; optional flags in parm
2396 KVM_S390_PROGRAM_INT (vcpu) - program check; code in parm
2397 KVM_S390_SIGP_SET_PREFIX (vcpu) - sigp set prefix; prefix address in parm
2398 KVM_S390_RESTART (vcpu) - restart
2399 KVM_S390_INT_CLOCK_COMP (vcpu) - clock comparator interrupt
2400 KVM_S390_INT_CPU_TIMER (vcpu) - CPU timer interrupt
2404 KVM_S390_INT_EMERGENCY (vcpu) - sigp emergency; source cpu in parm
2405 KVM_S390_INT_EXTERNAL_CALL (vcpu) - sigp external call; source cpu in parm
2410 KVM_S390_MCHK (vm, vcpu) - machine check interrupt; cr 14 bits in parm,
2415 Note that the vcpu ioctl is asynchronous to vcpu execution.
2546 Type: vcpu ioctl
2556 return ENOEXEC for that vcpu.
2561 Userspace can call this function multiple times for a given vcpu, including
2562 after the vcpu has been run. This will reset the vcpu to its initial
2604 Type: vcpu ioctl
2685 Type: vcpu ioctl
2695 Set up the processor specific debug registers and configure vcpu for
2805 Type: vcpu ioctl
2909 Type: vcpu ioctl
2917 EBUSY: type is KVM_S390_SIGP_SET_PREFIX and vcpu is not stopped
2958 Note that the vcpu ioctl is asynchronous to vcpu execution.
2964 Type: vcpu ioctl
2993 Type: vcpu ioctl
3003 interrupts currently pending for the vcpu. It is intended for restoring
3026 Type: vcpu ioctl
3030 Queues an SMI on the thread's vcpu.
3036 mmap()ing a vcpu fd. From that point, application code can control
3091 If exit_reason is KVM_EXIT_UNKNOWN, the vcpu has exited due to unknown
3100 If exit_reason is KVM_EXIT_FAIL_ENTRY, the vcpu could not be run due
3123 If exit_reason is KVM_EXIT_IO, then the vcpu has
3134 If the exit_reason is KVM_EXIT_DEBUG, then a vcpu is processing a debug event
3145 If exit_reason is KVM_EXIT_MMIO, then the vcpu has
3236 If exit_reason is KVM_EXIT_OSI, then the vcpu has triggered such a hypercall.
3302 If exit_reason is KVM_EXIT_SYSTEM_EVENT then the vcpu has triggered
3305 HVC instruction based PSCI call from the vcpu. The 'type' field describes
3381 Target: whether this is a per-vcpu or per-vm capability.
3392 Target: vcpu
3407 Target: vcpu
3427 Target: vcpu
3452 on this vcpu.
3470 Target: vcpu
3482 Note that even though this capability is enabled per-vcpu, the complete
3488 Target: vcpu
3507 args[1] is the MPIC CPU number for this vcpu
3509 This capability connects the vcpu to an in-kernel MPIC device.
3514 Target: vcpu
3516 args[1] is the XICS CPU number (server ID) for this vcpu
3518 This capability connects the vcpu to an in-kernel XICS device.
3532 Target: vcpu
3545 Target: vcpu
3634 vcpu->run: