mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-04 19:16:12 +00:00
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 <mahuber@microsoft.com>
This commit is contained in:
committed by
Saul Paredes
parent
195bc72f62
commit
1630a6e98f
@@ -466,7 +466,7 @@ components:
|
||||
VmInfo:
|
||||
description: Virtual Machine information
|
||||
example:
|
||||
memory_actual_size: 7
|
||||
memory_actual_size: 4
|
||||
state: Created
|
||||
config:
|
||||
memory:
|
||||
@@ -595,7 +595,6 @@ components:
|
||||
- 1
|
||||
- 1
|
||||
num_pci_segments: 4
|
||||
iommu_address_width: 4
|
||||
oem_strings:
|
||||
- oem_strings
|
||||
- oem_strings
|
||||
@@ -1038,7 +1037,6 @@ components:
|
||||
- 1
|
||||
- 1
|
||||
num_pci_segments: 4
|
||||
iommu_address_width: 4
|
||||
oem_strings:
|
||||
- oem_strings
|
||||
- oem_strings
|
||||
@@ -1445,7 +1443,6 @@ components:
|
||||
- 1
|
||||
- 1
|
||||
num_pci_segments: 4
|
||||
iommu_address_width: 4
|
||||
oem_strings:
|
||||
- oem_strings
|
||||
- oem_strings
|
||||
@@ -1462,9 +1459,6 @@ components:
|
||||
format: int16
|
||||
type: integer
|
||||
type: array
|
||||
iommu_address_width:
|
||||
format: uint8
|
||||
type: integer
|
||||
serial_number:
|
||||
type: string
|
||||
uuid:
|
||||
|
||||
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**NumPciSegments** | Pointer to **int32** | | [optional]
|
||||
**IommuSegments** | Pointer to **[]int32** | | [optional]
|
||||
**IommuAddressWidth** | Pointer to **int32** | | [optional]
|
||||
**SerialNumber** | Pointer to **string** | | [optional]
|
||||
**Uuid** | Pointer to **string** | | [optional]
|
||||
**OemStrings** | Pointer to **[]string** | | [optional]
|
||||
@@ -82,31 +81,6 @@ SetIommuSegments sets IommuSegments field to given value.
|
||||
|
||||
HasIommuSegments returns a boolean if a field has been set.
|
||||
|
||||
### GetIommuAddressWidth
|
||||
|
||||
`func (o *PlatformConfig) GetIommuAddressWidth() int32`
|
||||
|
||||
GetIommuAddressWidth returns the IommuAddressWidth field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIommuAddressWidthOk
|
||||
|
||||
`func (o *PlatformConfig) GetIommuAddressWidthOk() (*int32, bool)`
|
||||
|
||||
GetIommuAddressWidthOk returns a tuple with the IommuAddressWidth field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetIommuAddressWidth
|
||||
|
||||
`func (o *PlatformConfig) SetIommuAddressWidth(v int32)`
|
||||
|
||||
SetIommuAddressWidth sets IommuAddressWidth field to given value.
|
||||
|
||||
### HasIommuAddressWidth
|
||||
|
||||
`func (o *PlatformConfig) HasIommuAddressWidth() bool`
|
||||
|
||||
HasIommuAddressWidth returns a boolean if a field has been set.
|
||||
|
||||
### GetSerialNumber
|
||||
|
||||
`func (o *PlatformConfig) GetSerialNumber() string`
|
||||
|
||||
@@ -16,14 +16,13 @@ import (
|
||||
|
||||
// PlatformConfig struct for PlatformConfig
|
||||
type PlatformConfig struct {
|
||||
NumPciSegments *int32 `json:"num_pci_segments,omitempty"`
|
||||
IommuSegments *[]int32 `json:"iommu_segments,omitempty"`
|
||||
IommuAddressWidth *int32 `json:"iommu_address_width,omitempty"`
|
||||
SerialNumber *string `json:"serial_number,omitempty"`
|
||||
Uuid *string `json:"uuid,omitempty"`
|
||||
OemStrings *[]string `json:"oem_strings,omitempty"`
|
||||
Tdx *bool `json:"tdx,omitempty"`
|
||||
SevSnp *bool `json:"sev_snp,omitempty"`
|
||||
NumPciSegments *int32 `json:"num_pci_segments,omitempty"`
|
||||
IommuSegments *[]int32 `json:"iommu_segments,omitempty"`
|
||||
SerialNumber *string `json:"serial_number,omitempty"`
|
||||
Uuid *string `json:"uuid,omitempty"`
|
||||
OemStrings *[]string `json:"oem_strings,omitempty"`
|
||||
Tdx *bool `json:"tdx,omitempty"`
|
||||
SevSnp *bool `json:"sev_snp,omitempty"`
|
||||
}
|
||||
|
||||
// NewPlatformConfig instantiates a new PlatformConfig object
|
||||
@@ -115,38 +114,6 @@ func (o *PlatformConfig) SetIommuSegments(v []int32) {
|
||||
o.IommuSegments = &v
|
||||
}
|
||||
|
||||
// GetIommuAddressWidth returns the IommuAddressWidth field value if set, zero value otherwise.
|
||||
func (o *PlatformConfig) GetIommuAddressWidth() int32 {
|
||||
if o == nil || o.IommuAddressWidth == nil {
|
||||
var ret int32
|
||||
return ret
|
||||
}
|
||||
return *o.IommuAddressWidth
|
||||
}
|
||||
|
||||
// GetIommuAddressWidthOk returns a tuple with the IommuAddressWidth field value if set, nil otherwise
|
||||
// and a boolean to check if the value has been set.
|
||||
func (o *PlatformConfig) GetIommuAddressWidthOk() (*int32, bool) {
|
||||
if o == nil || o.IommuAddressWidth == nil {
|
||||
return nil, false
|
||||
}
|
||||
return o.IommuAddressWidth, true
|
||||
}
|
||||
|
||||
// HasIommuAddressWidth returns a boolean if a field has been set.
|
||||
func (o *PlatformConfig) HasIommuAddressWidth() bool {
|
||||
if o != nil && o.IommuAddressWidth != nil {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
// SetIommuAddressWidth gets a reference to the given int32 and assigns it to the IommuAddressWidth field.
|
||||
func (o *PlatformConfig) SetIommuAddressWidth(v int32) {
|
||||
o.IommuAddressWidth = &v
|
||||
}
|
||||
|
||||
// GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.
|
||||
func (o *PlatformConfig) GetSerialNumber() string {
|
||||
if o == nil || o.SerialNumber == nil {
|
||||
@@ -315,9 +282,6 @@ func (o PlatformConfig) MarshalJSON() ([]byte, error) {
|
||||
if o.IommuSegments != nil {
|
||||
toSerialize["iommu_segments"] = o.IommuSegments
|
||||
}
|
||||
if o.IommuAddressWidth != nil {
|
||||
toSerialize["iommu_address_width"] = o.IommuAddressWidth
|
||||
}
|
||||
if o.SerialNumber != nil {
|
||||
toSerialize["serial_number"] = o.SerialNumber
|
||||
}
|
||||
|
||||
@@ -722,9 +722,6 @@ components:
|
||||
items:
|
||||
type: integer
|
||||
format: int16
|
||||
iommu_address_width:
|
||||
type: integer
|
||||
format: uint8
|
||||
serial_number:
|
||||
type: string
|
||||
uuid:
|
||||
|
||||
@@ -75,7 +75,7 @@ assets:
|
||||
url: "https://github.com/cloud-hypervisor/cloud-hypervisor"
|
||||
uscan-url: >-
|
||||
https://github.com/microsoft/cloud-hypervisor/tags.*/v?(\d\S+)\.tar\.gz
|
||||
version: "v41.0.79"
|
||||
version: "v41.0.139"
|
||||
|
||||
firecracker:
|
||||
description: "Firecracker micro-VMM"
|
||||
|
||||
Reference in New Issue
Block a user