diff options
| author | Open-IOV <dev@open-iov.org> | 2026-09-23 05:44:08 -0400 |
|---|---|---|
| committer | Open-IOV <dev@open-iov.org> | 2026-09-23 05:46:43 -0400 |
| commit | 2302fc09080bad51c73f293294e19fd4db464eb0 (patch) | |
| tree | c722d186347fdef5a34131e9e143b1549b1daf8e /scripts/test_windows_guest.sh | |
| download | open-iov-2302fc09080bad51c73f293294e19fd4db464eb0.tar.gz open-iov-2302fc09080bad51c73f293294e19fd4db464eb0.zip | |
Open-IOV: initial public release
Open-IOV virtualizes NVIDIA GPUs so that unmodified guest drivers run with
real GPU functionality - CUDA first, 3D and video to follow - on unmodified
hosts, without a proprietary vGPU license and without patching any driver,
firmware or hypervisor.
Core principle: emulate the interface, pass through the work.
kernel/ open-iov-vfio.ko - host VFIO mdev driver: virtual GPU device
(PCI config space, BAR shadows, MSI-X), GSP boot emulation,
GSP-RM message-queue/RPC emulation, memory model (GPU-VA to
guest-PA discovery) and the semaphore-completion service that
advances guest UVM progress.
userspace/ libiov.so management API and examples.
tools/ guest diagnostics, firmware analysis wrappers, RM probes.
scripts/ stack manager, VM harness, build/load/test automation.
config/ hardware/version profiles (the portability surface).
docs/ documentation tree - start at docs/README.md.
wiki/ long-form firmware and protocol deep dives.
Status: initialization works end to end for a stock 570.144 Linux guest on
Turing (TU104): driver probe, nvidia-smi, the full GSP-RM control battery,
object creation and the early CUDA/UVM start-up path. GPU work forwarding -
the step that makes CUDA kernels execute on real hardware - is the active
work item; see docs/04-implementation/01-known-knowns-and-unknowns.md.
License: BSD-3-Clause for the project; GPL-2.0 for kernel modules that link
GPL-only kernel interfaces. See LICENSE and docs/09-reference/legal-and-licensing.md.
Diffstat (limited to 'scripts/test_windows_guest.sh')
| -rwxr-xr-x | scripts/test_windows_guest.sh | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/scripts/test_windows_guest.sh b/scripts/test_windows_guest.sh new file mode 100755 index 0000000..7876bf4 --- /dev/null +++ b/scripts/test_windows_guest.sh @@ -0,0 +1,36 @@ +#!/bin/bash +# Windows Guest Validation +# Tests Windows guest with NVIDIA driver + +set -e + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +OPEN_IOV_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)" + +echo "=== Windows Guest Validation ===" +echo "Open-IOV root: $OPEN_IOV_ROOT" + +# Check if we're root +if [ "$EUID" -ne 0 ]; then + echo "ERROR: This script must be run as root" + exit 1 +fi + +# This script assumes Windows guest is running with WinRM or SSH +# For now, this is a placeholder for the Windows test automation + +echo "Windows guest validation requires:" +echo " - Windows 10/11 guest with WinRM enabled" +echo " - NVIDIA 570.144 driver installed" +echo " - Test scripts copied to guest" + +echo "Test items (manual for now):" +echo " 1. Device Manager: Verify 'NVIDIA T4' (or equivalent) with Code 0" +echo " 2. nvidia-smi.exe: Shows vGPU info" +echo " 3. CUDA-Z: Device query passes" +echo " 4. vectorAdd.exe: Executes correctly" +echo " 5. dxdiag: Shows correct GPU info" +echo " 6. D3D11/D3D12/Vulkan: Render test passes" +echo " 7. NVENC/NVDEC: Encode/decode test passes" + +echo "=== Windows Guest Validation (Placeholder) ==="
\ No newline at end of file |
