versions: Udpate Cloud Hypervisor to 55479a64d237

Let's update cloud-hypervisor to a version that exposes the TDx support
via the OpenAPI's auto-generated code.

Fixes: #3663

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio
2022-02-14 17:20:27 +01:00
parent 1873fd2641
commit 90fd625d0c
15 changed files with 751 additions and 172 deletions

View File

@@ -5,7 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Size** | **int64** | |
**DeflateOnOom** | Pointer to **bool** | Whether the balloon should deflate when the guest is under memory pressure. | [optional] [default to false]
**DeflateOnOom** | Pointer to **bool** | Deflate balloon when the guest is under memory pressure. | [optional] [default to false]
**FreePageReporting** | Pointer to **bool** | Enable guest to report free pages. | [optional] [default to false]
## Methods
@@ -71,6 +72,31 @@ SetDeflateOnOom sets DeflateOnOom field to given value.
HasDeflateOnOom returns a boolean if a field has been set.
### GetFreePageReporting
`func (o *BalloonConfig) GetFreePageReporting() bool`
GetFreePageReporting returns the FreePageReporting field if non-nil, zero value otherwise.
### GetFreePageReportingOk
`func (o *BalloonConfig) GetFreePageReportingOk() (*bool, bool)`
GetFreePageReportingOk returns a tuple with the FreePageReporting field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetFreePageReporting
`func (o *BalloonConfig) SetFreePageReporting(v bool)`
SetFreePageReporting sets FreePageReporting field to given value.
### HasFreePageReporting
`func (o *BalloonConfig) HasFreePageReporting() bool`
HasFreePageReporting returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -15,7 +15,6 @@ Name | Type | Description | Notes
**VhostSocket** | Pointer to **string** | | [optional]
**VhostMode** | Pointer to **string** | | [optional] [default to "Client"]
**Id** | Pointer to **string** | | [optional]
**Fds** | Pointer to **[]int32** | | [optional]
**PciSegment** | Pointer to **int32** | | [optional]
**RateLimiterConfig** | Pointer to [**RateLimiterConfig**](RateLimiterConfig.md) | | [optional]
@@ -313,31 +312,6 @@ SetId sets Id field to given value.
HasId returns a boolean if a field has been set.
### GetFds
`func (o *NetConfig) GetFds() []int32`
GetFds returns the Fds field if non-nil, zero value otherwise.
### GetFdsOk
`func (o *NetConfig) GetFdsOk() (*[]int32, bool)`
GetFdsOk returns a tuple with the Fds field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetFds
`func (o *NetConfig) SetFds(v []int32)`
SetFds sets Fds field to given value.
### HasFds
`func (o *NetConfig) HasFds() bool`
HasFds returns a boolean if a field has been set.
### GetPciSegment
`func (o *NetConfig) GetPciSegment() int32`

View File

@@ -0,0 +1,82 @@
# PlatformConfig
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**NumPciSegments** | Pointer to **int32** | | [optional]
**IommuSegments** | Pointer to **[]int32** | | [optional]
## Methods
### NewPlatformConfig
`func NewPlatformConfig() *PlatformConfig`
NewPlatformConfig instantiates a new PlatformConfig object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed
### NewPlatformConfigWithDefaults
`func NewPlatformConfigWithDefaults() *PlatformConfig`
NewPlatformConfigWithDefaults instantiates a new PlatformConfig object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
### GetNumPciSegments
`func (o *PlatformConfig) GetNumPciSegments() int32`
GetNumPciSegments returns the NumPciSegments field if non-nil, zero value otherwise.
### GetNumPciSegmentsOk
`func (o *PlatformConfig) GetNumPciSegmentsOk() (*int32, bool)`
GetNumPciSegmentsOk returns a tuple with the NumPciSegments field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetNumPciSegments
`func (o *PlatformConfig) SetNumPciSegments(v int32)`
SetNumPciSegments sets NumPciSegments field to given value.
### HasNumPciSegments
`func (o *PlatformConfig) HasNumPciSegments() bool`
HasNumPciSegments returns a boolean if a field has been set.
### GetIommuSegments
`func (o *PlatformConfig) GetIommuSegments() []int32`
GetIommuSegments returns the IommuSegments field if non-nil, zero value otherwise.
### GetIommuSegmentsOk
`func (o *PlatformConfig) GetIommuSegmentsOk() (*[]int32, bool)`
GetIommuSegmentsOk returns a tuple with the IommuSegments field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetIommuSegments
`func (o *PlatformConfig) SetIommuSegments(v []int32)`
SetIommuSegments sets IommuSegments field to given value.
### HasIommuSegments
`func (o *PlatformConfig) HasIommuSegments() bool`
HasIommuSegments returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,51 @@
# TdxConfig
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Firmware** | **string** | Path to the firmware that will be used to boot the TDx guest up. |
## Methods
### NewTdxConfig
`func NewTdxConfig(firmware string, ) *TdxConfig`
NewTdxConfig instantiates a new TdxConfig object
This constructor will assign default values to properties that have it defined,
and makes sure properties required by API are set, but the set of arguments
will change when the set of required properties is changed
### NewTdxConfigWithDefaults
`func NewTdxConfigWithDefaults() *TdxConfig`
NewTdxConfigWithDefaults instantiates a new TdxConfig object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set
### GetFirmware
`func (o *TdxConfig) GetFirmware() string`
GetFirmware returns the Firmware field if non-nil, zero value otherwise.
### GetFirmwareOk
`func (o *TdxConfig) GetFirmwareOk() (*string, bool)`
GetFirmwareOk returns a tuple with the Firmware field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetFirmware
`func (o *TdxConfig) SetFirmware(v string)`
SetFirmware sets Firmware field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -20,9 +20,11 @@ Name | Type | Description | Notes
**Devices** | Pointer to [**[]DeviceConfig**](DeviceConfig.md) | | [optional]
**Vsock** | Pointer to [**VsockConfig**](VsockConfig.md) | | [optional]
**SgxEpc** | Pointer to [**[]SgxEpcConfig**](SgxEpcConfig.md) | | [optional]
**Tdx** | Pointer to [**TdxConfig**](TdxConfig.md) | | [optional]
**Numa** | Pointer to [**[]NumaConfig**](NumaConfig.md) | | [optional]
**Iommu** | Pointer to **bool** | | [optional] [default to false]
**Watchdog** | Pointer to **bool** | | [optional] [default to false]
**Platform** | Pointer to [**PlatformConfig**](PlatformConfig.md) | | [optional]
## Methods
@@ -448,6 +450,31 @@ SetSgxEpc sets SgxEpc field to given value.
HasSgxEpc returns a boolean if a field has been set.
### GetTdx
`func (o *VmConfig) GetTdx() TdxConfig`
GetTdx returns the Tdx field if non-nil, zero value otherwise.
### GetTdxOk
`func (o *VmConfig) GetTdxOk() (*TdxConfig, bool)`
GetTdxOk returns a tuple with the Tdx field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetTdx
`func (o *VmConfig) SetTdx(v TdxConfig)`
SetTdx sets Tdx field to given value.
### HasTdx
`func (o *VmConfig) HasTdx() bool`
HasTdx returns a boolean if a field has been set.
### GetNuma
`func (o *VmConfig) GetNuma() []NumaConfig`
@@ -523,6 +550,31 @@ SetWatchdog sets Watchdog field to given value.
HasWatchdog returns a boolean if a field has been set.
### GetPlatform
`func (o *VmConfig) GetPlatform() PlatformConfig`
GetPlatform returns the Platform field if non-nil, zero value otherwise.
### GetPlatformOk
`func (o *VmConfig) GetPlatformOk() (*PlatformConfig, bool)`
GetPlatformOk returns a tuple with the Platform field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPlatform
`func (o *VmConfig) SetPlatform(v PlatformConfig)`
SetPlatform sets Platform field to given value.
### HasPlatform
`func (o *VmConfig) HasPlatform() bool`
HasPlatform returns a boolean if a field has been set.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)