Function crosvm_direct::crosvm::sys::unix::handle_hotplug_command
source · [−]fn handle_hotplug_command<V: VmArch, Vcpu: VcpuArch>(
linux: &mut RunnableLinuxVm<V, Vcpu>,
sys_allocator: &mut SystemAllocator,
cfg: &Config,
add_tubes: &mut Vec<TaggedControlTube>,
hp_control_tube: &Sender<PciRootCommand>,
iommu_host_tube: &Option<Tube>,
device: &HotPlugDeviceInfo,
add: bool
) -> VmResponse