Skip to content

msft-preview: runtime: upgrade to CH v51.1#440

Open
Redent0r wants to merge 4 commits intomsft-previewfrom
saul/disable_clh_nested_cpu_preview
Open

msft-preview: runtime: upgrade to CH v51.1#440
Redent0r wants to merge 4 commits intomsft-previewfrom
saul/disable_clh_nested_cpu_preview

Conversation

@Redent0r
Copy link
Copy Markdown

@Redent0r Redent0r commented Apr 2, 2026

See commits for details

Redent0r and others added 2 commits April 2, 2026 11:23
Regenerate CH client against v51.1

Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
The recently-added nested property is true by default, but is not
supported yet on MSHV.

See cloud-hypervisor/cloud-hypervisor#7408 for additional information.

Signed-off-by: Dan Mihai <dmihai@microsoft.com>
Copilot AI review requested due to automatic review settings April 2, 2026 18:28
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Cloud Hypervisor (CH) dependency and synchronizes the in-repo OpenAPI specs + generated Go client code to match CH v51.1, including a small runtime adjustment for MSHV compatibility.

Changes:

  • Bump Cloud Hypervisor version reference to v51.1 in versions.yaml.
  • Update CH OpenAPI specs and regenerate the Go client to include new API surface (e.g., /vm.resize-disk) and new schema fields (CPU nested, disk image options, net offloads, NUMA device_id).
  • In clh.go, disable CpusConfig.nested when running with MSHV (/dev/mshv present).

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
versions.yaml Updates tracked Cloud Hypervisor version to v51.1.
src/runtime/virtcontainers/pkg/cloud-hypervisor/cloud-hypervisor.yaml Syncs embedded CH OpenAPI spec with v51.1 additions.
src/runtime/virtcontainers/pkg/cloud-hypervisor/client/api/openapi.yaml Syncs client OpenAPI input spec with v51.1 additions.
src/runtime/virtcontainers/pkg/cloud-hypervisor/client/api_default.go Regenerated client method for /vm.resize-disk.
src/runtime/virtcontainers/pkg/cloud-hypervisor/client/model_*.go Regenerated models reflecting new schema fields.
src/runtime/virtcontainers/pkg/cloud-hypervisor/client/docs/*.md Regenerated API/model documentation for new endpoint/model.
src/runtime/virtcontainers/pkg/cloud-hypervisor/client/README.md Regenerated client README to list new API/model.
src/runtime/virtcontainers/pkg/cloud-hypervisor/client/.openapi-generator/FILES Updates generator manifest to include new generated files.
src/runtime/virtcontainers/clh.go Disables nested CPU option on MSHV and adds a helper to detect /dev/mshv.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Redent0r Redent0r changed the title runtime: upgrade to CH v51.1 msft-preview: runtime: upgrade to CH v51.1 Apr 2, 2026
This cloud-hypervisor is a directory, so it needs "rm -rf" instead of
"rm -f".

Signed-off-by: Dan Mihai <dmihai@microsoft.com>
@Redent0r
Copy link
Copy Markdown
Author

Redent0r commented Apr 2, 2026

@Redent0r
Copy link
Copy Markdown
Author

Redent0r commented Apr 3, 2026

CI is failing required kata-containers-ci-on-push / run-kata-deploy-tests / run-kata-deploy-tests (qemu, k3s)

disable Kata Containers CI / kata-containers-ci-on-push / run-kata-deploy-tests / run-kata-deploy-tests (qemu, k3s)

Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
Copilot AI review requested due to automatic review settings April 3, 2026 17:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 20 out of 20 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Redent0r Redent0r marked this pull request as ready for review April 3, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants