Skip to content

Commit 7989129

Browse files
Manuel HuberRedent0r
authored andcommitted
runtime: clh: Use msft/v41.0.139 API YAML
Replace the API definitions file with the proper definitions from Microsoft's cloud-hypervisor fork Signed-off-by: Manuel Huber <[email protected]>
1 parent 9fa7bbf commit 7989129

File tree

5 files changed

+9
-80
lines changed

5 files changed

+9
-80
lines changed

src/runtime/virtcontainers/pkg/cloud-hypervisor/client/api/openapi.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ components:
466466
VmInfo:
467467
description: Virtual Machine information
468468
example:
469-
memory_actual_size: 7
469+
memory_actual_size: 4
470470
state: Created
471471
config:
472472
memory:
@@ -595,7 +595,6 @@ components:
595595
- 1
596596
- 1
597597
num_pci_segments: 4
598-
iommu_address_width: 4
599598
oem_strings:
600599
- oem_strings
601600
- oem_strings
@@ -1038,7 +1037,6 @@ components:
10381037
- 1
10391038
- 1
10401039
num_pci_segments: 4
1041-
iommu_address_width: 4
10421040
oem_strings:
10431041
- oem_strings
10441042
- oem_strings
@@ -1445,7 +1443,6 @@ components:
14451443
- 1
14461444
- 1
14471445
num_pci_segments: 4
1448-
iommu_address_width: 4
14491446
oem_strings:
14501447
- oem_strings
14511448
- oem_strings
@@ -1462,9 +1459,6 @@ components:
14621459
format: int16
14631460
type: integer
14641461
type: array
1465-
iommu_address_width:
1466-
format: uint8
1467-
type: integer
14681462
serial_number:
14691463
type: string
14701464
uuid:

src/runtime/virtcontainers/pkg/cloud-hypervisor/client/docs/PlatformConfig.md

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**NumPciSegments** | Pointer to **int32** | | [optional]
88
**IommuSegments** | Pointer to **[]int32** | | [optional]
9-
**IommuAddressWidth** | Pointer to **int32** | | [optional]
109
**SerialNumber** | Pointer to **string** | | [optional]
1110
**Uuid** | Pointer to **string** | | [optional]
1211
**OemStrings** | Pointer to **[]string** | | [optional]
@@ -82,31 +81,6 @@ SetIommuSegments sets IommuSegments field to given value.
8281

8382
HasIommuSegments returns a boolean if a field has been set.
8483

85-
### GetIommuAddressWidth
86-
87-
`func (o *PlatformConfig) GetIommuAddressWidth() int32`
88-
89-
GetIommuAddressWidth returns the IommuAddressWidth field if non-nil, zero value otherwise.
90-
91-
### GetIommuAddressWidthOk
92-
93-
`func (o *PlatformConfig) GetIommuAddressWidthOk() (*int32, bool)`
94-
95-
GetIommuAddressWidthOk returns a tuple with the IommuAddressWidth field if it's non-nil, zero value otherwise
96-
and a boolean to check if the value has been set.
97-
98-
### SetIommuAddressWidth
99-
100-
`func (o *PlatformConfig) SetIommuAddressWidth(v int32)`
101-
102-
SetIommuAddressWidth sets IommuAddressWidth field to given value.
103-
104-
### HasIommuAddressWidth
105-
106-
`func (o *PlatformConfig) HasIommuAddressWidth() bool`
107-
108-
HasIommuAddressWidth returns a boolean if a field has been set.
109-
11084
### GetSerialNumber
11185

11286
`func (o *PlatformConfig) GetSerialNumber() string`

src/runtime/virtcontainers/pkg/cloud-hypervisor/client/model_platform_config.go

Lines changed: 7 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/runtime/virtcontainers/pkg/cloud-hypervisor/cloud-hypervisor.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -722,9 +722,6 @@ components:
722722
items:
723723
type: integer
724724
format: int16
725-
iommu_address_width:
726-
type: integer
727-
format: uint8
728725
serial_number:
729726
type: string
730727
uuid:

versions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ assets:
7575
url: "https://github.com/cloud-hypervisor/cloud-hypervisor"
7676
uscan-url: >-
7777
https://github.com/microsoft/cloud-hypervisor/tags.*/v?(\d\S+)\.tar\.gz
78-
version: "v41.0.79"
78+
version: "v41.0.139"
7979

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

0 commit comments

Comments
 (0)