Skip to content

Commit 5dd7a9f

Browse files
committed
runtime: clh: update cloud-hypervisor API reference
- Change Makefile to point to fork - Change versions.yaml to point to proper version on fork - Do not regenerate the binding - the current definitions are invalid - Definitions will be fixed with upcoming versions such as v41.0.120 Signed-off-by: Manuel Huber <mahuber@microsoft.com>
1 parent 2cab32d commit 5dd7a9f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/runtime/virtcontainers/pkg/cloud-hypervisor/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ifndef YQ
2626
$(MK_DIR)/../../../../../ci//install_yq.sh
2727
endif
2828
clh_version=$(shell yq .assets.hypervisor.cloud_hypervisor.version $(VERSIONS_FILE)); \
29-
curl -OL https://raw.githubusercontent.com/cloud-hypervisor/cloud-hypervisor/$$clh_version/vmm/src/api/openapi/cloud-hypervisor.yaml
29+
curl -OL https://raw.githubusercontent.com/microsoft/cloud-hypervisor/refs/tags/msft/$$clh_version/vmm/src/api/openapi/cloud-hypervisor.yaml
3030

3131
clean-generated-code:
3232
rm "./client" -rf

versions.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ assets:
7474
description: "Cloud Hypervisor is an open source Virtual Machine Monitor"
7575
url: "https://github.com/cloud-hypervisor/cloud-hypervisor"
7676
uscan-url: >-
77-
https://github.com/cloud-hypervisor/cloud-hypervisor/tags.*/v?(\d\S+)\.tar\.gz
78-
version: "v45.0"
77+
https://github.com/microsoft/cloud-hypervisor/tags.*/v?(\d\S+)\.tar\.gz
78+
version: "v41.0.79"
7979

8080
firecracker:
8181
description: "Firecracker micro-VMM"

0 commit comments

Comments
 (0)