Function run_vcpu
Source pub fn run_vcpu(
cpu_id: usize,
vcpu_id: usize,
vcpu: Option<Arc<dyn VcpuArch>>,
vcpu_init: VcpuInitArch,
vm: Arc<dyn VmArch>,
irq_chip: Arc<dyn IrqChipArch>,
vcpu_count: usize,
run_rt: bool,
vcpu_affinity: CpuSet,
delay_rt: bool,
start_barrier: Arc<Barrier>,
io_bus: Bus,
mmio_bus: Bus,
hypercall_bus: Bus,
vm_evt_wrtube: SendTube,
from_main_tube: Receiver<VcpuControl>,
to_gdb_tube: Option<Sender<VcpuDebugStatusMessage>>,
enable_core_scheduling: bool,
enable_per_vm_core_scheduling: bool,
cpu_config: Option<CpuConfigArch>,
vcpu_cgroup_tasks_file: Option<File>,
bus_lock_ratelimit_ctrl: Arc<Mutex<Ratelimit>>,
run_mode: VmRunMode,
boost_uclamp: bool,
vcpu_pid_tid_tube: Sender<VcpuPidTid>,
) -> Result<JoinHandle<()>>