blob: 7876bf4bcea5a49ca5434bbc8cb75367bdaf18d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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) ==="
|