Skip to content

Kubevirt update for sidecar support, GPU passthrough fix, and volume deadlock fix#17806

Open
woojoong88 wants to merge 3 commits into
microsoft:3.0-devfrom
woojoong88:woojoongkim/kubevirt-alrs-1.5
Open

Kubevirt update for sidecar support, GPU passthrough fix, and volume deadlock fix#17806
woojoong88 wants to merge 3 commits into
microsoft:3.0-devfrom
woojoong88:woojoongkim/kubevirt-alrs-1.5

Conversation

@woojoong88

@woojoong88 woojoong88 commented Jun 25, 2026

Copy link
Copy Markdown
Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

What does the PR accomplish, why was it needed?
This PR is upgrade KubeVirt to add GPU fix patch and Disk deadlock patches. Also, it adds Kubevirt sidecar.

Change Log
  • Patch for GPU passthrough
  • Add Sidecar
  • Patch kubevirt with hotplug detach deadlock and PCI passthrough fixes (Max Weiss maxweiss@microsoft.com)
Does this affect the toolchain?

NO

Associated issues
  • #xxxx
Links to CVEs
Test Methodology

woojoong88 and others added 3 commits June 25, 2026 09:31
Add two virt-handler/virt-controller patches addressing hotplug volume
detach deadlocks observed in production on KubeVirt v1.7.1 (ICM
21000001017910 and 21000001021380):

- 0002: virt-handler mountFromPod() skips mounting volumes no longer in
  VMI spec, so it stops resurrecting the block device of a removed
  volume each reconcile. Unmount() can then clean it up, IsMounted()
  returns false, and updateHotplugVolumeStatus() advances the phase to
  UnMountedFromPod, letting virt-controller delete the attachment pod.
- 0003: virt-controller cleanupAttachmentPods() only keeps an old
  Running attachment pod as fallback if it still holds volumes worth
  preserving (in-spec, or in a deletion-blocking phase), avoiding
  cross-VMI RWO deadlocks during PVC reshuffling.

Both patches include unit tests adapted to v1.7.1. Bumps Release to 9.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@woojoong88 woojoong88 requested a review from a team as a code owner June 25, 2026 16:39
@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging 3.0-dev PRs Destined for AzureLinux 3.0 labels Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants