Repository navigation
vGPU! - #66
Draft
amoghmunikote wants to merge 6 commits into
Draft
vGPU!#66amoghmunikote wants to merge 6 commits into
amoghmunikote wants to merge 6 commits into
Conversation
Opt-in with install.sh --vgpu=<NVIDIA-Linux-x86_64-<ver>-vgpu-kvm.run>: builds nvidia.ko as a vGPU KVM host with nvidia-vgpu-vfio from that package, runs the GA100 vGPU plugin on the CPU, and installs the vGPU manager userspace. tools/vgpu.sh exposes SR-IOV and manages the VFs and services. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015gXUgxCHKjz3btHUjWeJbd
Remove tools/vgpu.sh and tools/vgpu-config.py, the SR-IOV host runtime management (install/enable/unhide/start/stop and the vgpuConfig.xml profile generator). These now live in the cmptools repo. install.sh no longer invokes the removed installer; --vgpu still builds the modules as a vGPU host via build.sh. The driver-build support (driver/build.sh and driver/patches/vgpu) is unchanged, and remove.sh keeps the runtime teardown since it is the only cleanup for those artifacts. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015gXUgxCHKjz3btHUjWeJbd
Remove tools/passthrough.sh, the operator CLI for the vfio-pci handoff (status/prepare/restore). It now lives in the cmptools repo. The install path is unchanged: passthrough-setup.sh still builds cmp_no_bus_reset.ko and installs the passthrough-arm and gsp-restore helpers, the boot service, and the udev rule. read-constants.py now checks the module is referenced in passthrough-arm.sh, and gsp-restore.py points its restore hint at the cmptools passthrough tool. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015gXUgxCHKjz3btHUjWeJbd
Remove verify.sh (whole-GPU memory-unlock verification) and the verify and status actions of tools/service.sh (negotiated Gen2 check + service state). These read-only checks now live in the cmptools status tool. service.sh keeps install and remove, which arm and tear down the early-boot gen2.service and are part of cmpunlocker's install. install.sh points its post-install verification steps at ./tools.sh status verify. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015gXUgxCHKjz3btHUjWeJbd
Remove tools/retrain.sh, the one-shot manual PCIe Gen2 retrain. It was an orphan (nothing installs or runs it) and now lives, generalized off the hardcoded BDFs, in the cmptools retrain tool. The early-boot retrain mechanism (hammer.sh + gen2.service via service.sh install) is unchanged, as is the legacy /usr/local/sbin/retrain.sh cleanup in install/remove. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015gXUgxCHKjz3btHUjWeJbd
Move the three vGPU patches out of driver/patches/vgpu/ into driver/patches/ and into the single PATCH_ORDER list, after bar1-resize-unlock.patch (vgpu-kvm-build.patch edits code that patch adds). Drop the separate VGPU_PATCH_ORDER array and the patches/vgpu handling in build.sh and the tests. vGPU stays optional: the apply loop skips the vgpu-* patches unless a --vgpu package is given, since vgpu-kvm-build.patch needs the vGPU host sources extracted from that .run. A normal unlock-only build is unaffected. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015gXUgxCHKjz3btHUjWeJbd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.