summaryrefslogtreecommitdiffstats
path: root/userspace
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-08 11:53:20 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-08 11:53:20 -0400
commit2ee4fe8f43b0dc3e080c91931eadade1fd636c27 (patch)
tree01432ca250db20d95327440ddb87b95b6ffd9abb /userspace
parent668097c9753a7a42b5f98dec45ca1fb7023a053c (diff)
downloadopen-iov-2ee4fe8f43b0dc3e080c91931eadade1fd636c27.tar.gz
open-iov-2ee4fe8f43b0dc3e080c91931eadade1fd636c27.zip
spdx: add BSD-3-Clause identifiers to userspace/tools/scripts sources
Sweep of the 155 tracked C/Python/shell files under userspace/ (excluding the MIT-licensed vendored userspace/extern/), tools/ and scripts/ that had no per-file license identifier. Each gains the minimal two-line header in the area's existing form: 'SPDX-License-Identifier: BSD-3-Clause' plus 'Copyright (c) 2026 Open-IOV contributors'; shebang and coding lines stay first. No other content touched. kernel/** is deliberately out of scope (recorded as a follow-up in CODESTD-REPORT-2026-10-08.md): its SPDX coverage and MODULE_LICENSE normalization need their own GPL-2.0 pass.
Diffstat (limited to 'userspace')
-rw-r--r--userspace/examples/example_vgpu.c2
-rw-r--r--userspace/include/libvgpu.h2
-rw-r--r--userspace/lib/libvgpu.c2
-rw-r--r--userspace/lib/rpc_emulator.c2
-rw-r--r--userspace/lib/rpc_emulator.h2
-rw-r--r--userspace/tests/test_guest_init.c2
-rw-r--r--userspace/tests/test_host_init.c2
-rw-r--r--userspace/tests/test_vgpu_userspace.c2
8 files changed, 16 insertions, 0 deletions
diff --git a/userspace/examples/example_vgpu.c b/userspace/examples/example_vgpu.c
index ede6873..735f0b3 100644
--- a/userspace/examples/example_vgpu.c
+++ b/userspace/examples/example_vgpu.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/*
* GSP vGPU-IO Example Application
* Demonstrates basic VF creation, memory allocation, and BAR configuration
diff --git a/userspace/include/libvgpu.h b/userspace/include/libvgpu.h
index 7f6505b..33fbfb5 100644
--- a/userspace/include/libvgpu.h
+++ b/userspace/include/libvgpu.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/*
* GSP vGPU-IO Userspace Library (libvgpu)
* Simple C API for VF management and GPU operations
diff --git a/userspace/lib/libvgpu.c b/userspace/lib/libvgpu.c
index a25a228..bd27610 100644
--- a/userspace/lib/libvgpu.c
+++ b/userspace/lib/libvgpu.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/*
* GSP vGPU-IO Userspace Library Implementation
*/
diff --git a/userspace/lib/rpc_emulator.c b/userspace/lib/rpc_emulator.c
index 9f7f2c7..3a74b9c 100644
--- a/userspace/lib/rpc_emulator.c
+++ b/userspace/lib/rpc_emulator.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/*
* GSP vGPU-IO Userspace RPC Emulator
*
diff --git a/userspace/lib/rpc_emulator.h b/userspace/lib/rpc_emulator.h
index 1b641bf..35cb76e 100644
--- a/userspace/lib/rpc_emulator.h
+++ b/userspace/lib/rpc_emulator.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/*
* GSP vGPU-IO Userspace RPC Emulator - Header
*/
diff --git a/userspace/tests/test_guest_init.c b/userspace/tests/test_guest_init.c
index 135c16f..4148da6 100644
--- a/userspace/tests/test_guest_init.c
+++ b/userspace/tests/test_guest_init.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/*
* Test for guest vGPU driver initialization
* This test verifies that the guest vGPU driver can initialize properly
diff --git a/userspace/tests/test_host_init.c b/userspace/tests/test_host_init.c
index a08fe33..aa3ddbb 100644
--- a/userspace/tests/test_host_init.c
+++ b/userspace/tests/test_host_init.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/*
* Test for host vGPU initialization
*/
diff --git a/userspace/tests/test_vgpu_userspace.c b/userspace/tests/test_vgpu_userspace.c
index cd22111..5858dbe 100644
--- a/userspace/tests/test_vgpu_userspace.c
+++ b/userspace/tests/test_vgpu_userspace.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/* Copyright (c) 2026 Open-IOV contributors */
/*
* GSP vGPU-IO Userspace Test
* Tests VFIO interface and driver functionality from userspace