Module vcpu

Source

Structsยง

VcpuPidTid

Constantsยง

SCHED_FLAG_KEEP_ALL ๐Ÿ”’
SCHED_FLAG_KEEP_PARAMS ๐Ÿ”’
SCHED_FLAG_KEEP_POLICY ๐Ÿ”’
SCHED_FLAG_RESET_ON_FORK ๐Ÿ”’
SCHED_FLAG_UTIL_CLAMP_MIN ๐Ÿ”’
SCHED_SCALE_CAPACITY ๐Ÿ”’
VCPU_THREAD ๐Ÿ”’

Functionsยง

kick_all_vcpus
Signals all running VCPUs to vmexit, sends VcpuControl message to each VCPU tube, and tells irq_chip to stop blocking halted VCPUs. The channel message is set first because both the signal and the irq_chip kick could cause the VCPU thread to continue through the VCPU run loop.
kick_vcpu
Signals specific running VCPUs to vmexit, sends VcpuControl message to the VCPU tube, and tells irq_chip to stop blocking halted VCPUs. The channel message is set first because both the signal and the irq_chip kick could cause the VCPU thread to continue through the VCPU run loop.
remove_vcpu_signal_handler
run_vcpu
runnable_vcpu
set_vcpu_thread_local ๐Ÿ”’
set_vcpu_thread_scheduling
Set the VCPU thread affinity and other per-thread scheduler properties. This function will be called from each VCPU thread at startup.
setup_vcpu_signal_handler
vcpu_loop ๐Ÿ”’