Searched refs:Vsock (Results 1 – 5 of 5) sorted by relevance
12 use ::vhost::Vsock as VhostVsockHandle;24 pub struct Vsock { struct34 impl Vsock { argument36 pub fn new(cid: u64, mem: &GuestMemory) -> Result<Vsock> { in new() argument47 Ok(Vsock { in new()58 pub fn new_for_testing(cid: u64, features: u64) -> Vsock { in new_for_testing() argument59 Vsock { in new_for_testing()75 impl Drop for Vsock { implementation87 impl VirtioDevice for Vsock { implementation215 let mut vsock = Vsock::new_for_testing(cid, features); in ack_features()[all …]
20 pub use self::vsock::Vsock;
18 pub struct Vsock { struct23 impl Vsock { impl25 pub fn new(mem: &GuestMemory) -> Result<Vsock> { in new() argument26 Ok(Vsock { in new()72 impl Vhost for Vsock { implementation78 impl AsRawFd for Vsock { implementation
10 pub use crate::vsock::Vsock;
668 let dev = virtio::vhost::Vsock::new(cid, mem).map_err(Error::VhostVsockDeviceNew)?; in create_vhost_vsock_device()