Home
last modified time | relevance | path

Searched refs:Vsock (Results 1 – 5 of 5) sorted by relevance

/external/crosvm/devices/src/virtio/vhost/
Dvsock.rs12 use ::vhost::Vsock as VhostVsockHandle;
24 pub struct Vsock { struct
34 impl Vsock { argument
36 pub fn new(cid: u64, mem: &GuestMemory) -> Result<Vsock> { in new() argument
47 Ok(Vsock { in new()
58 pub fn new_for_testing(cid: u64, features: u64) -> Vsock { in new_for_testing() argument
59 Vsock { in new_for_testing()
75 impl Drop for Vsock { implementation
87 impl VirtioDevice for Vsock { implementation
215 let mut vsock = Vsock::new_for_testing(cid, features); in ack_features()
[all …]
Dmod.rs20 pub use self::vsock::Vsock;
/external/crosvm/vhost/src/
Dvsock.rs18 pub struct Vsock { struct
23 impl Vsock { impl
25 pub fn new(mem: &GuestMemory) -> Result<Vsock> { in new() argument
26 Ok(Vsock { in new()
72 impl Vhost for Vsock { implementation
78 impl AsRawFd for Vsock { implementation
Dlib.rs10 pub use crate::vsock::Vsock;
/external/crosvm/src/
Dlinux.rs668 let dev = virtio::vhost::Vsock::new(cid, mem).map_err(Error::VhostVsockDeviceNew)?; in create_vhost_vsock_device()