Searched refs:vhost_net_device_path (Results 1 – 5 of 5) sorted by relevance
32 fn new(vhost_net_device_path: &PathBuf, mem: &GuestMemory) -> Result<Self>; in new()51 fn new(vhost_net_device_path: &PathBuf, mem: &GuestMemory) -> Result<Net<T>> { in new()57 .open(vhost_net_device_path) in new()
198 pub vhost_net_device_path: PathBuf, field274 vhost_net_device_path: PathBuf::from(VHOST_NET_PATH), in default()
785 let vhost_net_device_path = PathBuf::from(value.unwrap()); in set_argument() localVariable786 if !vhost_net_device_path.exists() { in set_argument()793 cfg.vhost_net_device_path = vhost_net_device_path; in set_argument()
813 &cfg.vhost_net_device_path, in create_net_device()
48 vhost_net_device_path: &PathBuf, in new()75 let vhost_net_handle = U::new(vhost_net_device_path, mem).map_err(Error::VhostOpen)?; in new()