summaryrefslogtreecommitdiffstats
path: root/scripts/test_windows_guest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test_windows_guest.sh')
-rwxr-xr-xscripts/test_windows_guest.sh36
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