Function crosvm_direct::crosvm::sys::unix::gpu::create_gpu_device
source · [−]pub fn create_gpu_device(
cfg: &Config,
exit_evt_wrtube: &SendTube,
gpu_control_tube: Tube,
resource_bridges: Vec<Tube>,
wayland_socket_path: Option<&PathBuf>,
x_display: Option<String>,
render_server_fd: Option<SafeDescriptor>,
event_devices: Vec<EventDevice>
) -> Result<VirtioDeviceStub>