Searched refs:vhost_vsock_device_path (Results 1 – 5 of 5) sorted by relevance
25 pub fn new(vhost_vsock_device_path: &PathBuf, mem: &GuestMemory) -> Result<Vsock> { in new()31 .open(vhost_vsock_device_path) in new()
35 vhost_vsock_device_path: &PathBuf, in new()42 VhostVsockHandle::new(vhost_vsock_device_path, mem).map_err(Error::VhostOpen)?; in new()
197 pub vhost_vsock_device_path: PathBuf, field273 vhost_vsock_device_path: PathBuf::from(VHOST_VSOCK_PATH), in default()
774 let vhost_vsock_device_path = PathBuf::from(value.unwrap()); in set_argument() localVariable775 if !vhost_vsock_device_path.exists() { in set_argument()782 cfg.vhost_vsock_device_path = vhost_vsock_device_path; in set_argument()
1143 let dev = virtio::vhost::Vsock::new(&cfg.vhost_vsock_device_path, features, cid, mem) in create_vhost_vsock_device()