• Home
  • Raw
  • Download

Lines Matching refs:virtio

37 use devices::virtio::vhost::user::{
41 use devices::virtio::EventDevice;
42 use devices::virtio::{self, Console, VirtioDevice};
93 BalloonDeviceNew(virtio::BalloonError),
129 FsDeviceNew(virtio::fs::Error),
139 InputDeviceNew(virtio::InputError),
146 NetDeviceNew(virtio::NetError),
153 P9DeviceNew(virtio::P9Error),
172 RngDeviceNew(virtio::RngError),
186 VhostNetDeviceNew(virtio::vhost::Error),
191 VhostVsockDeviceNew(virtio::vhost::Error),
516 virtio::BlockAsync::new( in create_block_device()
517 virtio::base_features(cfg.protected_vm), in create_block_device()
530 virtio::Block::new( in create_block_device()
531 virtio::base_features(cfg.protected_vm), in create_block_device()
550 let dev = VhostUserBlock::new(virtio::base_features(cfg.protected_vm), &opt.socket) in create_vhost_user_block_device()
562 virtio::base_features(cfg.protected_vm), in create_vhost_user_fs_device()
577 virtio::Rng::new(virtio::base_features(cfg.protected_vm)).map_err(Error::RngDeviceNew)?; in create_rng_device()
625 let dev = virtio::Tpm::new(tpm_storage); in create_tpm_device()
643 let dev = virtio::new_single_touch( in create_single_touch_device()
647 virtio::base_features(cfg.protected_vm), in create_single_touch_device()
666 let dev = virtio::new_multi_touch( in create_multi_touch_device()
670 virtio::base_features(cfg.protected_vm), in create_multi_touch_device()
687 let dev = virtio::new_trackpad( in create_trackpad_device()
691 virtio::base_features(cfg.protected_vm), in create_trackpad_device()
707 let dev = virtio::new_mouse(socket, virtio::base_features(cfg.protected_vm)) in create_mouse_device()
722 let dev = virtio::new_keyboard(socket, virtio::base_features(cfg.protected_vm)) in create_keyboard_device()
737 let dev = virtio::new_switches(socket, virtio::base_features(cfg.protected_vm)) in create_switches_device()
753 let dev = virtio::new_evdev(dev_file, virtio::base_features(cfg.protected_vm)) in create_vinput_device()
763 let dev = virtio::Balloon::new(virtio::base_features(cfg.protected_vm), tube) in create_balloon_device()
787 let features = virtio::base_features(cfg.protected_vm); in create_tap_net_device()
788 let dev = virtio::Net::from(features, tap, vq_pairs).map_err(Error::NetDeviceNew)?; in create_tap_net_device()
810 let features = virtio::base_features(cfg.protected_vm); in create_net_device()
812 let dev = virtio::vhost::Net::<Tap, vhost::Net<Tap>>::new( in create_net_device()
823 let dev = virtio::Net::<Tap>::new(features, host_ip, netmask, mac_address, vq_pairs) in create_net_device()
841 let dev = VhostUserNet::new(virtio::base_features(cfg.protected_vm), &opt.socket) in create_vhost_user_net_device()
866 virtio::DisplayBackend::X(x_display), in create_gpu_device()
867 virtio::DisplayBackend::Stub, in create_gpu_device()
873 virtio::DisplayBackend::Wayland(if cfg.sandbox { in create_gpu_device()
881 let dev = virtio::Gpu::new( in create_gpu_device()
891 virtio::base_features(cfg.protected_vm), in create_gpu_device()
1025 let features = virtio::base_features(cfg.protected_vm); in create_wayland_device()
1026 let dev = virtio::Wl::new( in create_wayland_device()
1069 typ: devices::virtio::VideoDeviceType, in create_video_device()
1075 devices::virtio::VideoDeviceType::Decoder => { in create_video_device()
1078 devices::virtio::VideoDeviceType::Encoder => { in create_video_device()
1121 dev: Box::new(devices::virtio::VideoDevice::new( in create_video_device()
1122 virtio::base_features(cfg.protected_vm), in create_video_device()
1135 typ: devices::virtio::VideoDeviceType, in register_video_device()
1142 let features = virtio::base_features(cfg.protected_vm); in create_vhost_vsock_device()
1143 let dev = virtio::vhost::Vsock::new(&cfg.vhost_vsock_device_path, features, cid, mem) in create_vhost_vsock_device()
1158 fs_cfg: virtio::fs::passthrough::Config, in create_fs_device()
1181 let features = virtio::base_features(cfg.protected_vm); in create_fs_device()
1185 virtio::fs::Fs::new(features, tag, 1, fs_cfg, device_tube).map_err(Error::FsDeviceNew)?; in create_fs_device()
1226 let features = virtio::base_features(cfg.protected_vm); in create_9p_device()
1228 let dev = virtio::P9::new(features, tag, p9_cfg).map_err(Error::P9DeviceNew)?; in create_9p_device()
1315 let dev = virtio::Pmem::new( in create_pmem_device()
1316 virtio::base_features(cfg.protected_vm), in create_pmem_device()
1524 let dev = virtio::new_multi_touch( in create_virtio_devices()
1528 virtio::base_features(cfg.protected_vm), in create_virtio_devices()
1540 let dev = virtio::new_keyboard( in create_virtio_devices()
1542 virtio::base_features(cfg.protected_vm), in create_virtio_devices()
1573 devices::virtio::VideoDeviceType::Decoder, in create_virtio_devices()
1585 devices::virtio::VideoDeviceType::Encoder, in create_virtio_devices()