mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-28 16:29:45 +00:00
vsock: add SPDX-License-Identifier in each file
Harsha specified `license = "Apache-2.0 OR BSD-3-Clause"` in vsock/Cargo.toml, so let's add a properly SPDX tag in the vsock files. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
This commit is contained in:
parent
df1073bf2e
commit
8fa597e941
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||
|
||||
mod rxops;
|
||||
mod rxqueue;
|
||||
mod thread_backend;
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||
|
||||
#[derive(Clone, Copy, Eq, PartialEq, Debug)]
|
||||
pub enum RxOps {
|
||||
/// VSOCK_OP_REQUEST
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||
|
||||
use super::rxops::RxOps;
|
||||
|
||||
#[derive(Debug, Eq, PartialEq)]
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||
|
||||
#![deny(missing_docs)]
|
||||
|
||||
use super::{
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||
|
||||
use super::vhu_vsock::{Error, Result, CONN_TX_BUF_SIZE};
|
||||
use std::{io::Write, num::Wrapping};
|
||||
use vm_memory::{bitmap::BitmapSlice, VolatileSlice};
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||
|
||||
use super::vhu_vsock_thread::*;
|
||||
use clap::Parser;
|
||||
use core::slice;
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||
|
||||
use super::{
|
||||
rxops::*,
|
||||
thread_backend::*,
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: Apache-2.0 or BSD-3-Clause
|
||||
|
||||
use super::{
|
||||
rxops::*,
|
||||
rxqueue::*,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user