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
273 Type: vcpu ioctl
281 obtained by mmap()ing the vcpu fd at offset 0, with the size given by
290 Type: vcpu ioctl
294 Reads the general purpose registers from the vcpu.
320 Type: vcpu ioctl
324 Writes the general purpose registers into the vcpu.
333 Type: vcpu ioctl
337 Reads special registers from the vcpu.
361 Type: vcpu ioctl
365 Writes special registers into the vcpu. See KVM_GET_SREGS for the
373 Type: vcpu ioctl
377 Translates a virtual address according to the vcpu's current address
397 Type: vcpu ioctl
451 Type: vcpu ioctl
462 Type: vcpu ioctl
466 Reads model-specific registers from the vcpu. Supported msr indices can
491 Type: vcpu ioctl
495 Writes model-specific registers to the vcpu. See KVM_GET_MSRS for the
507 Type: vcpu ioctl
511 Defines the vcpu responses to the cpuid instruction. Applications
536 Type: vcpu ioctl
559 Type: vcpu ioctl
563 Reads the floating point state from the vcpu.
585 Type: vcpu ioctl
589 Writes the floating point state to the vcpu.
737 page of a blob (32- or 64-bit, depending on the vcpu mode) to guest
799 states of the vcpu.
839 vcpu.
864 Reads debug registers from the vcpu.
883 Writes debug registers into the vcpu.
963 Type: vcpu ioctl, vm ioctl (with KVM_CAP_ENABLE_CAP_VM)
994 The vcpu ioctl should be used for vcpu-specific capabilities, the vm ioctl
1001 Type: vcpu ioctl
1009 Returns the vcpu's current "multiprocessing state" (though also valid on
1014 - KVM_MP_STATE_RUNNABLE: the vcpu is currently running [x86,arm/arm64]
1015 - KVM_MP_STATE_UNINITIALIZED: the vcpu is an application processor (AP)
1017 - KVM_MP_STATE_INIT_RECEIVED: the vcpu has received an INIT signal, and is
1019 - KVM_MP_STATE_HALTED: the vcpu has executed a HLT instruction and
1021 - KVM_MP_STATE_SIPI_RECEIVED: the vcpu has just received a SIPI (vector
1023 - KVM_MP_STATE_STOPPED: the vcpu is stopped [s390,arm/arm64]
1024 - KVM_MP_STATE_CHECK_STOP: the vcpu is in a special error state [s390]
1025 - KVM_MP_STATE_OPERATING: the vcpu is operating (running or halted)
1027 - KVM_MP_STATE_LOAD: the vcpu is in a special load/startup state
1037 KVM_MP_STATE_RUNNABLE which reflect if the vcpu is paused or not.
1043 Type: vcpu ioctl
1047 Sets the vcpu's current "multiprocessing state"; see KVM_GET_MP_STATE for
1057 KVM_MP_STATE_RUNNABLE which reflect if the vcpu should be paused or not.
1086 Define which vcpu is the Bootstrap Processor (BSP). Values are the same
1087 as the vcpu id in KVM_CREATE_VCPU. If this ioctl is not called, the default
1088 is vcpu 0.
1095 Type: vcpu ioctl
1103 This ioctl would copy current vcpu's xsave struct to the userspace.
1110 Type: vcpu ioctl
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.
1505 Type: vcpu ioctl
1517 Type: vcpu ioctl
1530 Type: vcpu ioctl
1547 Type: vcpu ioctl
1603 Type: vcpu ioctl
1613 TLB, prior to calling KVM_RUN on the associated vcpu.
1739 Type: vcpu ioctl
1743 Queues an NMI on the thread's vcpu. Note this is well defined only
1755 - resume the vcpu
1765 Type: vcpu ioctl
1777 the vcpu's address space starting at "vcpu_addr". All parameters need to
1785 Type: vcpu ioctl
1796 This ioctl unmaps the memory in the vcpu's address space starting at
1805 Type: vcpu ioctl
1806 Parameters: vcpu absolute address (in)
1822 Type: vcpu ioctl
1831 Using this ioctl, a single vcpu register can be set to a specific value
2074 Type: vcpu ioctl
2079 in a vcpu. The register to read is indicated by the "id" field of the
2091 Type: vcpu ioctl
2105 after pausing the vcpu, but before it is resumed.
2328 If no hash table has been allocated when any vcpu is asked to run
2336 re-create the VMRA HPTEs on the next KVM_RUN of any vcpu.)
2342 Type: vm ioctl, vcpu ioctl
2347 (vm ioctl) or per cpu (vcpu ioctl), depending on the interrupt type.
2359 KVM_S390_SIGP_STOP (vcpu) - sigp stop; optional flags in parm
2360 KVM_S390_PROGRAM_INT (vcpu) - program check; code in parm
2361 KVM_S390_SIGP_SET_PREFIX (vcpu) - sigp set prefix; prefix address in parm
2362 KVM_S390_RESTART (vcpu) - restart
2363 KVM_S390_INT_CLOCK_COMP (vcpu) - clock comparator interrupt
2364 KVM_S390_INT_CPU_TIMER (vcpu) - CPU timer interrupt
2368 KVM_S390_INT_EMERGENCY (vcpu) - sigp emergency; source cpu in parm
2369 KVM_S390_INT_EXTERNAL_CALL (vcpu) - sigp external call; source cpu in parm
2374 KVM_S390_MCHK (vm, vcpu) - machine check interrupt; cr 14 bits in parm,
2379 Note that the vcpu ioctl is asynchronous to vcpu execution.
2510 Type: vcpu ioctl
2520 return ENOEXEC for that vcpu.
2525 Userspace can call this function multiple times for a given vcpu, including
2526 after the vcpu has been run. This will reset the vcpu to its initial
2568 Type: vcpu ioctl
2649 Type: vcpu ioctl
2659 Set up the processor specific debug registers and configure vcpu for
2764 Type: vcpu ioctl
2868 Type: vcpu ioctl
2876 EBUSY: type is KVM_S390_SIGP_SET_PREFIX and vcpu is not stopped
2917 Note that the vcpu ioctl is asynchronous to vcpu execution.
2923 Type: vcpu ioctl
2952 Type: vcpu ioctl
2962 interrupts currently pending for the vcpu. It is intended for restoring
2985 mmap()ing a vcpu fd. From that point, application code can control
3035 If exit_reason is KVM_EXIT_UNKNOWN, the vcpu has exited due to unknown
3044 If exit_reason is KVM_EXIT_FAIL_ENTRY, the vcpu could not be run due
3067 If exit_reason is KVM_EXIT_IO, then the vcpu has
3087 If exit_reason is KVM_EXIT_MMIO, then the vcpu has
3178 If exit_reason is KVM_EXIT_OSI, then the vcpu has triggered such a hypercall.
3243 If exit_reason is KVM_EXIT_SYSTEM_EVENT then the vcpu has triggered
3246 HVC instruction based PSCI call from the vcpu. The 'type' field describes
3306 Target: whether this is a per-vcpu or per-vm capability.
3317 Target: vcpu
3332 Target: vcpu
3352 Target: vcpu
3377 on this vcpu.
3395 Target: vcpu
3407 Note that even though this capability is enabled per-vcpu, the complete
3413 Target: vcpu
3432 args[1] is the MPIC CPU number for this vcpu
3434 This capability connects the vcpu to an in-kernel MPIC device.
3439 Target: vcpu
3441 args[1] is the XICS CPU number (server ID) for this vcpu
3443 This capability connects the vcpu to an in-kernel XICS device.
3457 Target: vcpu
3470 Target: vcpu
3559 vcpu->run: