xref: /aosp_15_r20/external/crosvm/devices/src/virtio/vsock/mod.rs (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1*bb4ee6a4SAndroid Build Coastguard Worker // Copyright 2022 The ChromiumOS Authors
2*bb4ee6a4SAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be
3*bb4ee6a4SAndroid Build Coastguard Worker // found in the LICENSE file.
4*bb4ee6a4SAndroid Build Coastguard Worker 
5*bb4ee6a4SAndroid Build Coastguard Worker //! This module implements the virtio vsock device.
6*bb4ee6a4SAndroid Build Coastguard Worker //!
7*bb4ee6a4SAndroid Build Coastguard Worker //! Currently, this is only implemented for Windows.
8*bb4ee6a4SAndroid Build Coastguard Worker //! For Linux, please use the vhost-vsock device, which delegates the vsock
9*bb4ee6a4SAndroid Build Coastguard Worker //! implementation to the kernel.
10*bb4ee6a4SAndroid Build Coastguard Worker 
11*bb4ee6a4SAndroid Build Coastguard Worker mod sys;
12*bb4ee6a4SAndroid Build Coastguard Worker pub use sys::Vsock;
13*bb4ee6a4SAndroid Build Coastguard Worker pub use sys::VsockConfig;
14