summaryrefslogtreecommitdiffstats
path: root/scripts
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 /scripts
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 'scripts')
-rwxr-xr-xscripts/auto-opencode-setup.sh2
-rwxr-xr-xscripts/browse-project.py2
-rwxr-xr-xscripts/build_nvidia_openrm.sh2
-rwxr-xr-xscripts/check-docs-links.py2
-rwxr-xr-xscripts/create_mdev.sh2
-rwxr-xr-xscripts/debug_guest_init.sh2
-rwxr-xr-xscripts/launch_qemu_direct.sh2
-rwxr-xr-xscripts/launch_qemu_vgpu.sh2
-rwxr-xr-xscripts/load_vgpu_stack.sh2
-rw-r--r--scripts/qemu_gdb_attach.sh2
-rwxr-xr-xscripts/setup_guest_driver.sh2
-rwxr-xr-xscripts/stack_manager.sh2
-rwxr-xr-xscripts/test_cuda_workloads.sh2
-rwxr-xr-xscripts/test_graphics_workloads.sh2
-rwxr-xr-xscripts/test_gsp_emu.sh2
-rwxr-xr-xscripts/test_guest_driver.sh2
-rwxr-xr-xscripts/test_vgpu_stack.sh2
-rwxr-xr-xscripts/test_windows_guest.sh2
-rwxr-xr-xscripts/unload_vgpu_stack.sh2
-rwxr-xr-xscripts/windows_guest_automation.sh2
20 files changed, 40 insertions, 0 deletions
diff --git a/scripts/auto-opencode-setup.sh b/scripts/auto-opencode-setup.sh
index 4126d3d..0d54032 100755
--- a/scripts/auto-opencode-setup.sh
+++ b/scripts/auto-opencode-setup.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# auto-opencode-setup.sh - Configure auto-opencode session on login
# Usage: sudo ./auto-opencode-setup.sh [enable|disable] [graphical|multi-user] [auto-login]
diff --git a/scripts/browse-project.py b/scripts/browse-project.py
index 72ee46c..fa876ee 100755
--- a/scripts/browse-project.py
+++ b/scripts/browse-project.py
@@ -1,5 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
"""
browse-project.py -- read-only TUI browser for the Open-IOV tree.
diff --git a/scripts/build_nvidia_openrm.sh b/scripts/build_nvidia_openrm.sh
index 6772d64..891522e 100755
--- a/scripts/build_nvidia_openrm.sh
+++ b/scripts/build_nvidia_openrm.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# Build NVIDIA OpenRM kernel modules with Open-IOV vGPU VFIO symbols
# This script ensures KBUILD_EXTRA_SYMBOLS is correctly passed to the build
diff --git a/scripts/check-docs-links.py b/scripts/check-docs-links.py
index fcb39ca..ea5122d 100755
--- a/scripts/check-docs-links.py
+++ b/scripts/check-docs-links.py
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
"""Check relative links in the project's tracked markdown documentation.
Walks docs/, wiki/ and userspace/cuda/, extracts markdown links, and fails if
diff --git a/scripts/create_mdev.sh b/scripts/create_mdev.sh
index 2a5ad09..8763861 100755
--- a/scripts/create_mdev.sh
+++ b/scripts/create_mdev.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# create_mdev.sh - Create NVIDIA vGPU mediated device for QEMU
# Usage: ./create_mdev.sh [PCI_ADDRESS] [VGPU_TYPE]
diff --git a/scripts/debug_guest_init.sh b/scripts/debug_guest_init.sh
index 324f403..9837fe7 100755
--- a/scripts/debug_guest_init.sh
+++ b/scripts/debug_guest_init.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# debug_guest_init.sh - One-command debug launch for guest NVIDIA driver initialization
# Usage: ./debug_guest_init.sh [options]
diff --git a/scripts/launch_qemu_direct.sh b/scripts/launch_qemu_direct.sh
index 8ff315f..e7b1199 100755
--- a/scripts/launch_qemu_direct.sh
+++ b/scripts/launch_qemu_direct.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# launch_qemu_direct.sh - launch the vGPU VM directly, with a serial
# socket, QMP socket and guest agent socket that tools/guest-diag scripts
# expect. The mdev UUID is taken from $1 or MDEV_UUID, else the first
diff --git a/scripts/launch_qemu_vgpu.sh b/scripts/launch_qemu_vgpu.sh
index 2b64f63..ab82a66 100755
--- a/scripts/launch_qemu_vgpu.sh
+++ b/scripts/launch_qemu_vgpu.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# launch_qemu_vgpu.sh - Launch QEMU with NVIDIA vGPU mediated device
# Usage: ./launch_qemu_vgpu.sh [install|run] [MDEV_UUID] [GUEST_IMAGE] [OPTIONS]
diff --git a/scripts/load_vgpu_stack.sh b/scripts/load_vgpu_stack.sh
index bce2ec2..d0187f8 100755
--- a/scripts/load_vgpu_stack.sh
+++ b/scripts/load_vgpu_stack.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# load_vgpu_stack.sh - Load complete vGPU driver stack
# Usage: ./load_vgpu_stack.sh [firmware_name]
diff --git a/scripts/qemu_gdb_attach.sh b/scripts/qemu_gdb_attach.sh
index 310c196..fb7597f 100644
--- a/scripts/qemu_gdb_attach.sh
+++ b/scripts/qemu_gdb_attach.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# qemu_gdb_attach.sh - Launch QEMU with GDB server for guest kernel debugging
# Usage: ./qemu_gdb_attach.sh [gdb_port] [freeze_at_start]
diff --git a/scripts/setup_guest_driver.sh b/scripts/setup_guest_driver.sh
index f4f2757..c23db6f 100755
--- a/scripts/setup_guest_driver.sh
+++ b/scripts/setup_guest_driver.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# setup_guest_driver.sh - Setup NVIDIA driver in QEMU guest
# Run this INSIDE the guest VM after installation
diff --git a/scripts/stack_manager.sh b/scripts/stack_manager.sh
index 294a0ee..1a0d2ab 100755
--- a/scripts/stack_manager.sh
+++ b/scripts/stack_manager.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# stack_manager.sh - Complete vGPU stack management (load, unload, test, debug)
# Usage: ./stack_manager.sh <command> [options]
diff --git a/scripts/test_cuda_workloads.sh b/scripts/test_cuda_workloads.sh
index ba3663a..55a2076 100755
--- a/scripts/test_cuda_workloads.sh
+++ b/scripts/test_cuda_workloads.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# CUDA Workload Validation
# Tests various CUDA workloads in the guest
diff --git a/scripts/test_graphics_workloads.sh b/scripts/test_graphics_workloads.sh
index b3a873a..42777cb 100755
--- a/scripts/test_graphics_workloads.sh
+++ b/scripts/test_graphics_workloads.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# Graphics Workload Validation
# Tests Vulkan/OpenGL/video workloads in the guest
diff --git a/scripts/test_gsp_emu.sh b/scripts/test_gsp_emu.sh
index 0f80c30..60078aa 100755
--- a/scripts/test_gsp_emu.sh
+++ b/scripts/test_gsp_emu.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# GSP Emulation Unit Tests
# Runs kernel module tests for GSP emulation engine
diff --git a/scripts/test_guest_driver.sh b/scripts/test_guest_driver.sh
index f391d64..f9b76c6 100755
--- a/scripts/test_guest_driver.sh
+++ b/scripts/test_guest_driver.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# Guest Driver Validation Suite
# Tests the guest NVIDIA driver with vGPU
diff --git a/scripts/test_vgpu_stack.sh b/scripts/test_vgpu_stack.sh
index 4df9cdc..ad81606 100755
--- a/scripts/test_vgpu_stack.sh
+++ b/scripts/test_vgpu_stack.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# Comprehensive Test Suite for Open-IOV vGPU-IO
# Runs all validation tests in sequence
diff --git a/scripts/test_windows_guest.sh b/scripts/test_windows_guest.sh
index 7876bf4..a87e03a 100755
--- a/scripts/test_windows_guest.sh
+++ b/scripts/test_windows_guest.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# Windows Guest Validation
# Tests Windows guest with NVIDIA driver
diff --git a/scripts/unload_vgpu_stack.sh b/scripts/unload_vgpu_stack.sh
index 1cb484a..58a31b8 100755
--- a/scripts/unload_vgpu_stack.sh
+++ b/scripts/unload_vgpu_stack.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# unload_vgpu_stack.sh - Unload vGPU driver stack
set -euo pipefail
diff --git a/scripts/windows_guest_automation.sh b/scripts/windows_guest_automation.sh
index f95471e..78e8045 100755
--- a/scripts/windows_guest_automation.sh
+++ b/scripts/windows_guest_automation.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (c) 2026 Open-IOV contributors
# windows_guest_automation.sh - Windows guest test automation via WinRM/SSH
set -euo pipefail