summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-21 10:40:43 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-09-21 10:40:43 -0400
commit0ca41da65d675b624fb6389da1f488a24ea416e1 (patch)
tree57c06c3219942c950cb2739c0f3733e70fda7c76 /.gitignore
parent7400361f8e5c47c2c36c6598c7006017ba62d945 (diff)
downloadopen-iov-0ca41da65d675b624fb6389da1f488a24ea416e1.tar.gz
open-iov-0ca41da65d675b624fb6389da1f488a24ea416e1.zip
repo: Untrack binaries/vendor/wrapper layers, add .gitignore + NVIDIA patches
Restructure for clean mirroring to git.vgpu.io/open-iov.git: - Untrack GSP firmware blobs and decompiled output (firmware/**/*.bin, firmware/**/decompiled/) - large, license-restricted NVIDIA binaries. Analysis scripts, docs, and address maps remain tracked. - Untrack nvidia-open-gpu-kernel-modules submodule; our delta against upstream tag 610.57.04 is now tracked as a patch series in patches/nvidia/ and applied by install.sh after cloning. - Untrack kernel build artifacts (*.o, *.ko, Module.symvers, ...). - Untrack Ghidra project databases (*.rep/, *.gpr) - scripts remain. - Untrack VM images (*.iso, *.img, *.qcow2) and compiled helper binaries. - Drop git-lfs (.gitattributes) - no large objects remain in git. - Local QEMU-wrapper layers (scripts/vgpu_vm.py, qemu_control.py, qemu_harness.sh) are gitignored: the repo is hypervisor-management neutral (libvirt, raw QEMU all work). All files remain on disk; only git tracking changes. No source code modified.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore92
1 files changed, 92 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..995ddaf
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,92 @@
+# ============================================================================
+# Open-IOV .gitignore
+#
+# Goals:
+# - No large binary objects in git (firmware blobs, VM images, Ghidra DBs)
+# - No build artifacts
+# - No vendor trees (NVIDIA OpenRM is pulled + patched by install.sh)
+# - No local QEMU-wrapper stacks (/, guest communication daemon) - the repo is
+# hypervisor-management neutral (works with libvirt, , raw QEMU, ...)
+# ============================================================================
+
+# ----------------------------------------------------------------------------
+# Kernel / kbuild artifacts
+# ----------------------------------------------------------------------------
+*.o
+*.ko
+*.mod
+*.mod.c
+*.mod.o
+Module.symvers
+modules.order
+.*.cmd
+.tmp_versions/
+*.order
+*.symvers
+
+# ----------------------------------------------------------------------------
+# Userspace build artifacts
+# ----------------------------------------------------------------------------
+*.so
+*.so.*
+*.a
+*.pyc
+__pycache__/
+userspace/lib/libiov.so*
+userspace/lib/libvgpu.so*
+userspace/examples/example_vgpu
+userspace/tests/*_test
+
+# ----------------------------------------------------------------------------
+# NVIDIA open-gpu-kernel-modules (vendor tree)
+# Cloned at a pinned tag and patched by install.sh - see patches/nvidia/
+# ----------------------------------------------------------------------------
+/nvidia-open-gpu-kernel-modules/
+
+# ----------------------------------------------------------------------------
+# GSP firmware blobs and decompiled GSP output
+# (large, license-restricted NVIDIA binaries; analysis scripts/docs stay)
+# ----------------------------------------------------------------------------
+firmware/**/*.bin
+firmware/**/decompiled/
+
+# ----------------------------------------------------------------------------
+# Ghidra project databases (large binary DBs; analysis scripts stay tracked)
+# ----------------------------------------------------------------------------
+tools/ghidra/**/*.rep/
+tools/ghidra/**/*.gpr
+tools/ghidra/**/*.lock
+tools/ghidra/**/*.lock~
+
+# ----------------------------------------------------------------------------
+# VM images and disk artifacts (large binaries)
+# ----------------------------------------------------------------------------
+*.iso
+*.img
+*.qcow2
+*.qcow
+*.vmdk
+*.vdi
+*.raw
+
+# Compiled helper binaries (build from adjacent .c source instead)
+tools/debug/nv2080_ctrl
+
+# ----------------------------------------------------------------------------
+# Local QEMU-wrapper / VM-management layer (NOT part of the reproducible core)
+# Bring your own wrapper: libvirt, /, plain qemu, etc.
+# ----------------------------------------------------------------------------
+/GVM-guest/
+/libvf.io/
+/scripts/vgpu_vm.py
+/scripts/qemu_control.py
+/scripts/qemu_harness.sh
+
+# ----------------------------------------------------------------------------
+# Misc
+# ----------------------------------------------------------------------------
+*.log
+*.tmp
+.DS_Store
+/core
+vgcore.*