mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 11:44:38 +00:00
Merge pull request #10724 from likebreath/0109/upgrade_clh_v43.0
versions: Upgrade to Cloud Hypervisor v45.0
This commit is contained in:
commit
a40b919afe
@ -466,7 +466,7 @@ components:
|
|||||||
VmInfo:
|
VmInfo:
|
||||||
description: Virtual Machine information
|
description: Virtual Machine information
|
||||||
example:
|
example:
|
||||||
memory_actual_size: 4
|
memory_actual_size: 7
|
||||||
state: Created
|
state: Created
|
||||||
config:
|
config:
|
||||||
memory:
|
memory:
|
||||||
@ -595,11 +595,13 @@ components:
|
|||||||
- 1
|
- 1
|
||||||
- 1
|
- 1
|
||||||
num_pci_segments: 4
|
num_pci_segments: 4
|
||||||
|
iommu_address_width: 4
|
||||||
oem_strings:
|
oem_strings:
|
||||||
- oem_strings
|
- oem_strings
|
||||||
- oem_strings
|
- oem_strings
|
||||||
tdx: false
|
tdx: false
|
||||||
serial_number: serial_number
|
serial_number: serial_number
|
||||||
|
sev_snp: false
|
||||||
uuid: uuid
|
uuid: uuid
|
||||||
pmem:
|
pmem:
|
||||||
- pci_segment: 3
|
- pci_segment: 3
|
||||||
@ -617,7 +619,9 @@ components:
|
|||||||
iommu: false
|
iommu: false
|
||||||
payload:
|
payload:
|
||||||
cmdline: cmdline
|
cmdline: cmdline
|
||||||
|
igvm: igvm
|
||||||
kernel: kernel
|
kernel: kernel
|
||||||
|
host_data: host_data
|
||||||
initramfs: initramfs
|
initramfs: initramfs
|
||||||
firmware: firmware
|
firmware: firmware
|
||||||
rate_limit_groups:
|
rate_limit_groups:
|
||||||
@ -886,7 +890,9 @@ components:
|
|||||||
description: Payloads to boot in guest
|
description: Payloads to boot in guest
|
||||||
example:
|
example:
|
||||||
cmdline: cmdline
|
cmdline: cmdline
|
||||||
|
igvm: igvm
|
||||||
kernel: kernel
|
kernel: kernel
|
||||||
|
host_data: host_data
|
||||||
initramfs: initramfs
|
initramfs: initramfs
|
||||||
firmware: firmware
|
firmware: firmware
|
||||||
properties:
|
properties:
|
||||||
@ -898,6 +904,10 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
initramfs:
|
initramfs:
|
||||||
type: string
|
type: string
|
||||||
|
igvm:
|
||||||
|
type: string
|
||||||
|
host_data:
|
||||||
|
type: string
|
||||||
type: object
|
type: object
|
||||||
VmConfig:
|
VmConfig:
|
||||||
description: Virtual machine configuration
|
description: Virtual machine configuration
|
||||||
@ -1028,11 +1038,13 @@ components:
|
|||||||
- 1
|
- 1
|
||||||
- 1
|
- 1
|
||||||
num_pci_segments: 4
|
num_pci_segments: 4
|
||||||
|
iommu_address_width: 4
|
||||||
oem_strings:
|
oem_strings:
|
||||||
- oem_strings
|
- oem_strings
|
||||||
- oem_strings
|
- oem_strings
|
||||||
tdx: false
|
tdx: false
|
||||||
serial_number: serial_number
|
serial_number: serial_number
|
||||||
|
sev_snp: false
|
||||||
uuid: uuid
|
uuid: uuid
|
||||||
pmem:
|
pmem:
|
||||||
- pci_segment: 3
|
- pci_segment: 3
|
||||||
@ -1050,7 +1062,9 @@ components:
|
|||||||
iommu: false
|
iommu: false
|
||||||
payload:
|
payload:
|
||||||
cmdline: cmdline
|
cmdline: cmdline
|
||||||
|
igvm: igvm
|
||||||
kernel: kernel
|
kernel: kernel
|
||||||
|
host_data: host_data
|
||||||
initramfs: initramfs
|
initramfs: initramfs
|
||||||
firmware: firmware
|
firmware: firmware
|
||||||
rate_limit_groups:
|
rate_limit_groups:
|
||||||
@ -1431,11 +1445,13 @@ components:
|
|||||||
- 1
|
- 1
|
||||||
- 1
|
- 1
|
||||||
num_pci_segments: 4
|
num_pci_segments: 4
|
||||||
|
iommu_address_width: 4
|
||||||
oem_strings:
|
oem_strings:
|
||||||
- oem_strings
|
- oem_strings
|
||||||
- oem_strings
|
- oem_strings
|
||||||
tdx: false
|
tdx: false
|
||||||
serial_number: serial_number
|
serial_number: serial_number
|
||||||
|
sev_snp: false
|
||||||
uuid: uuid
|
uuid: uuid
|
||||||
properties:
|
properties:
|
||||||
num_pci_segments:
|
num_pci_segments:
|
||||||
@ -1446,6 +1462,9 @@ components:
|
|||||||
format: int16
|
format: int16
|
||||||
type: integer
|
type: integer
|
||||||
type: array
|
type: array
|
||||||
|
iommu_address_width:
|
||||||
|
format: uint8
|
||||||
|
type: integer
|
||||||
serial_number:
|
serial_number:
|
||||||
type: string
|
type: string
|
||||||
uuid:
|
uuid:
|
||||||
@ -1457,6 +1476,9 @@ components:
|
|||||||
tdx:
|
tdx:
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
sev_snp:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
MemoryZoneConfig:
|
MemoryZoneConfig:
|
||||||
example:
|
example:
|
||||||
|
@ -8,6 +8,8 @@ Name | Type | Description | Notes
|
|||||||
**Kernel** | Pointer to **string** | | [optional]
|
**Kernel** | Pointer to **string** | | [optional]
|
||||||
**Cmdline** | Pointer to **string** | | [optional]
|
**Cmdline** | Pointer to **string** | | [optional]
|
||||||
**Initramfs** | Pointer to **string** | | [optional]
|
**Initramfs** | Pointer to **string** | | [optional]
|
||||||
|
**Igvm** | Pointer to **string** | | [optional]
|
||||||
|
**HostData** | Pointer to **string** | | [optional]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@ -128,6 +130,56 @@ SetInitramfs sets Initramfs field to given value.
|
|||||||
|
|
||||||
HasInitramfs returns a boolean if a field has been set.
|
HasInitramfs returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetIgvm
|
||||||
|
|
||||||
|
`func (o *PayloadConfig) GetIgvm() string`
|
||||||
|
|
||||||
|
GetIgvm returns the Igvm field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetIgvmOk
|
||||||
|
|
||||||
|
`func (o *PayloadConfig) GetIgvmOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetIgvmOk returns a tuple with the Igvm field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetIgvm
|
||||||
|
|
||||||
|
`func (o *PayloadConfig) SetIgvm(v string)`
|
||||||
|
|
||||||
|
SetIgvm sets Igvm field to given value.
|
||||||
|
|
||||||
|
### HasIgvm
|
||||||
|
|
||||||
|
`func (o *PayloadConfig) HasIgvm() bool`
|
||||||
|
|
||||||
|
HasIgvm returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetHostData
|
||||||
|
|
||||||
|
`func (o *PayloadConfig) GetHostData() string`
|
||||||
|
|
||||||
|
GetHostData returns the HostData field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetHostDataOk
|
||||||
|
|
||||||
|
`func (o *PayloadConfig) GetHostDataOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetHostDataOk returns a tuple with the HostData field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetHostData
|
||||||
|
|
||||||
|
`func (o *PayloadConfig) SetHostData(v string)`
|
||||||
|
|
||||||
|
SetHostData sets HostData field to given value.
|
||||||
|
|
||||||
|
### HasHostData
|
||||||
|
|
||||||
|
`func (o *PayloadConfig) HasHostData() bool`
|
||||||
|
|
||||||
|
HasHostData 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)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -6,10 +6,12 @@ Name | Type | Description | Notes
|
|||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**NumPciSegments** | Pointer to **int32** | | [optional]
|
**NumPciSegments** | Pointer to **int32** | | [optional]
|
||||||
**IommuSegments** | Pointer to **[]int32** | | [optional]
|
**IommuSegments** | Pointer to **[]int32** | | [optional]
|
||||||
|
**IommuAddressWidth** | Pointer to **int32** | | [optional]
|
||||||
**SerialNumber** | Pointer to **string** | | [optional]
|
**SerialNumber** | Pointer to **string** | | [optional]
|
||||||
**Uuid** | Pointer to **string** | | [optional]
|
**Uuid** | Pointer to **string** | | [optional]
|
||||||
**OemStrings** | Pointer to **[]string** | | [optional]
|
**OemStrings** | Pointer to **[]string** | | [optional]
|
||||||
**Tdx** | Pointer to **bool** | | [optional] [default to false]
|
**Tdx** | Pointer to **bool** | | [optional] [default to false]
|
||||||
|
**SevSnp** | Pointer to **bool** | | [optional] [default to false]
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@ -80,6 +82,31 @@ SetIommuSegments sets IommuSegments field to given value.
|
|||||||
|
|
||||||
HasIommuSegments returns a boolean if a field has been set.
|
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
|
### GetSerialNumber
|
||||||
|
|
||||||
`func (o *PlatformConfig) GetSerialNumber() string`
|
`func (o *PlatformConfig) GetSerialNumber() string`
|
||||||
@ -180,6 +207,31 @@ SetTdx sets Tdx field to given value.
|
|||||||
|
|
||||||
HasTdx returns a boolean if a field has been set.
|
HasTdx returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetSevSnp
|
||||||
|
|
||||||
|
`func (o *PlatformConfig) GetSevSnp() bool`
|
||||||
|
|
||||||
|
GetSevSnp returns the SevSnp field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetSevSnpOk
|
||||||
|
|
||||||
|
`func (o *PlatformConfig) GetSevSnpOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetSevSnpOk returns a tuple with the SevSnp field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetSevSnp
|
||||||
|
|
||||||
|
`func (o *PlatformConfig) SetSevSnp(v bool)`
|
||||||
|
|
||||||
|
SetSevSnp sets SevSnp field to given value.
|
||||||
|
|
||||||
|
### HasSevSnp
|
||||||
|
|
||||||
|
`func (o *PlatformConfig) HasSevSnp() bool`
|
||||||
|
|
||||||
|
HasSevSnp 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)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
|
||||||
|
@ -20,6 +20,8 @@ type PayloadConfig struct {
|
|||||||
Kernel *string `json:"kernel,omitempty"`
|
Kernel *string `json:"kernel,omitempty"`
|
||||||
Cmdline *string `json:"cmdline,omitempty"`
|
Cmdline *string `json:"cmdline,omitempty"`
|
||||||
Initramfs *string `json:"initramfs,omitempty"`
|
Initramfs *string `json:"initramfs,omitempty"`
|
||||||
|
Igvm *string `json:"igvm,omitempty"`
|
||||||
|
HostData *string `json:"host_data,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewPayloadConfig instantiates a new PayloadConfig object
|
// NewPayloadConfig instantiates a new PayloadConfig object
|
||||||
@ -167,6 +169,70 @@ func (o *PayloadConfig) SetInitramfs(v string) {
|
|||||||
o.Initramfs = &v
|
o.Initramfs = &v
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetIgvm returns the Igvm field value if set, zero value otherwise.
|
||||||
|
func (o *PayloadConfig) GetIgvm() string {
|
||||||
|
if o == nil || o.Igvm == nil {
|
||||||
|
var ret string
|
||||||
|
return ret
|
||||||
|
}
|
||||||
|
return *o.Igvm
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetIgvmOk returns a tuple with the Igvm field value if set, nil otherwise
|
||||||
|
// and a boolean to check if the value has been set.
|
||||||
|
func (o *PayloadConfig) GetIgvmOk() (*string, bool) {
|
||||||
|
if o == nil || o.Igvm == nil {
|
||||||
|
return nil, false
|
||||||
|
}
|
||||||
|
return o.Igvm, true
|
||||||
|
}
|
||||||
|
|
||||||
|
// HasIgvm returns a boolean if a field has been set.
|
||||||
|
func (o *PayloadConfig) HasIgvm() bool {
|
||||||
|
if o != nil && o.Igvm != nil {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetIgvm gets a reference to the given string and assigns it to the Igvm field.
|
||||||
|
func (o *PayloadConfig) SetIgvm(v string) {
|
||||||
|
o.Igvm = &v
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetHostData returns the HostData field value if set, zero value otherwise.
|
||||||
|
func (o *PayloadConfig) GetHostData() string {
|
||||||
|
if o == nil || o.HostData == nil {
|
||||||
|
var ret string
|
||||||
|
return ret
|
||||||
|
}
|
||||||
|
return *o.HostData
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetHostDataOk returns a tuple with the HostData field value if set, nil otherwise
|
||||||
|
// and a boolean to check if the value has been set.
|
||||||
|
func (o *PayloadConfig) GetHostDataOk() (*string, bool) {
|
||||||
|
if o == nil || o.HostData == nil {
|
||||||
|
return nil, false
|
||||||
|
}
|
||||||
|
return o.HostData, true
|
||||||
|
}
|
||||||
|
|
||||||
|
// HasHostData returns a boolean if a field has been set.
|
||||||
|
func (o *PayloadConfig) HasHostData() bool {
|
||||||
|
if o != nil && o.HostData != nil {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetHostData gets a reference to the given string and assigns it to the HostData field.
|
||||||
|
func (o *PayloadConfig) SetHostData(v string) {
|
||||||
|
o.HostData = &v
|
||||||
|
}
|
||||||
|
|
||||||
func (o PayloadConfig) MarshalJSON() ([]byte, error) {
|
func (o PayloadConfig) MarshalJSON() ([]byte, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if o.Firmware != nil {
|
if o.Firmware != nil {
|
||||||
@ -181,6 +247,12 @@ func (o PayloadConfig) MarshalJSON() ([]byte, error) {
|
|||||||
if o.Initramfs != nil {
|
if o.Initramfs != nil {
|
||||||
toSerialize["initramfs"] = o.Initramfs
|
toSerialize["initramfs"] = o.Initramfs
|
||||||
}
|
}
|
||||||
|
if o.Igvm != nil {
|
||||||
|
toSerialize["igvm"] = o.Igvm
|
||||||
|
}
|
||||||
|
if o.HostData != nil {
|
||||||
|
toSerialize["host_data"] = o.HostData
|
||||||
|
}
|
||||||
return json.Marshal(toSerialize)
|
return json.Marshal(toSerialize)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,10 +18,12 @@ import (
|
|||||||
type PlatformConfig struct {
|
type PlatformConfig struct {
|
||||||
NumPciSegments *int32 `json:"num_pci_segments,omitempty"`
|
NumPciSegments *int32 `json:"num_pci_segments,omitempty"`
|
||||||
IommuSegments *[]int32 `json:"iommu_segments,omitempty"`
|
IommuSegments *[]int32 `json:"iommu_segments,omitempty"`
|
||||||
|
IommuAddressWidth *int32 `json:"iommu_address_width,omitempty"`
|
||||||
SerialNumber *string `json:"serial_number,omitempty"`
|
SerialNumber *string `json:"serial_number,omitempty"`
|
||||||
Uuid *string `json:"uuid,omitempty"`
|
Uuid *string `json:"uuid,omitempty"`
|
||||||
OemStrings *[]string `json:"oem_strings,omitempty"`
|
OemStrings *[]string `json:"oem_strings,omitempty"`
|
||||||
Tdx *bool `json:"tdx,omitempty"`
|
Tdx *bool `json:"tdx,omitempty"`
|
||||||
|
SevSnp *bool `json:"sev_snp,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewPlatformConfig instantiates a new PlatformConfig object
|
// NewPlatformConfig instantiates a new PlatformConfig object
|
||||||
@ -32,6 +34,8 @@ func NewPlatformConfig() *PlatformConfig {
|
|||||||
this := PlatformConfig{}
|
this := PlatformConfig{}
|
||||||
var tdx bool = false
|
var tdx bool = false
|
||||||
this.Tdx = &tdx
|
this.Tdx = &tdx
|
||||||
|
var sevSnp bool = false
|
||||||
|
this.SevSnp = &sevSnp
|
||||||
return &this
|
return &this
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -42,6 +46,8 @@ func NewPlatformConfigWithDefaults() *PlatformConfig {
|
|||||||
this := PlatformConfig{}
|
this := PlatformConfig{}
|
||||||
var tdx bool = false
|
var tdx bool = false
|
||||||
this.Tdx = &tdx
|
this.Tdx = &tdx
|
||||||
|
var sevSnp bool = false
|
||||||
|
this.SevSnp = &sevSnp
|
||||||
return &this
|
return &this
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -109,6 +115,38 @@ func (o *PlatformConfig) SetIommuSegments(v []int32) {
|
|||||||
o.IommuSegments = &v
|
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.
|
// GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.
|
||||||
func (o *PlatformConfig) GetSerialNumber() string {
|
func (o *PlatformConfig) GetSerialNumber() string {
|
||||||
if o == nil || o.SerialNumber == nil {
|
if o == nil || o.SerialNumber == nil {
|
||||||
@ -237,6 +275,38 @@ func (o *PlatformConfig) SetTdx(v bool) {
|
|||||||
o.Tdx = &v
|
o.Tdx = &v
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetSevSnp returns the SevSnp field value if set, zero value otherwise.
|
||||||
|
func (o *PlatformConfig) GetSevSnp() bool {
|
||||||
|
if o == nil || o.SevSnp == nil {
|
||||||
|
var ret bool
|
||||||
|
return ret
|
||||||
|
}
|
||||||
|
return *o.SevSnp
|
||||||
|
}
|
||||||
|
|
||||||
|
// GetSevSnpOk returns a tuple with the SevSnp field value if set, nil otherwise
|
||||||
|
// and a boolean to check if the value has been set.
|
||||||
|
func (o *PlatformConfig) GetSevSnpOk() (*bool, bool) {
|
||||||
|
if o == nil || o.SevSnp == nil {
|
||||||
|
return nil, false
|
||||||
|
}
|
||||||
|
return o.SevSnp, true
|
||||||
|
}
|
||||||
|
|
||||||
|
// HasSevSnp returns a boolean if a field has been set.
|
||||||
|
func (o *PlatformConfig) HasSevSnp() bool {
|
||||||
|
if o != nil && o.SevSnp != nil {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetSevSnp gets a reference to the given bool and assigns it to the SevSnp field.
|
||||||
|
func (o *PlatformConfig) SetSevSnp(v bool) {
|
||||||
|
o.SevSnp = &v
|
||||||
|
}
|
||||||
|
|
||||||
func (o PlatformConfig) MarshalJSON() ([]byte, error) {
|
func (o PlatformConfig) MarshalJSON() ([]byte, error) {
|
||||||
toSerialize := map[string]interface{}{}
|
toSerialize := map[string]interface{}{}
|
||||||
if o.NumPciSegments != nil {
|
if o.NumPciSegments != nil {
|
||||||
@ -245,6 +315,9 @@ func (o PlatformConfig) MarshalJSON() ([]byte, error) {
|
|||||||
if o.IommuSegments != nil {
|
if o.IommuSegments != nil {
|
||||||
toSerialize["iommu_segments"] = o.IommuSegments
|
toSerialize["iommu_segments"] = o.IommuSegments
|
||||||
}
|
}
|
||||||
|
if o.IommuAddressWidth != nil {
|
||||||
|
toSerialize["iommu_address_width"] = o.IommuAddressWidth
|
||||||
|
}
|
||||||
if o.SerialNumber != nil {
|
if o.SerialNumber != nil {
|
||||||
toSerialize["serial_number"] = o.SerialNumber
|
toSerialize["serial_number"] = o.SerialNumber
|
||||||
}
|
}
|
||||||
@ -257,6 +330,9 @@ func (o PlatformConfig) MarshalJSON() ([]byte, error) {
|
|||||||
if o.Tdx != nil {
|
if o.Tdx != nil {
|
||||||
toSerialize["tdx"] = o.Tdx
|
toSerialize["tdx"] = o.Tdx
|
||||||
}
|
}
|
||||||
|
if o.SevSnp != nil {
|
||||||
|
toSerialize["sev_snp"] = o.SevSnp
|
||||||
|
}
|
||||||
return json.Marshal(toSerialize)
|
return json.Marshal(toSerialize)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -548,6 +548,10 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
initramfs:
|
initramfs:
|
||||||
type: string
|
type: string
|
||||||
|
igvm:
|
||||||
|
type: string
|
||||||
|
host_data:
|
||||||
|
type: string
|
||||||
description: Payloads to boot in guest
|
description: Payloads to boot in guest
|
||||||
|
|
||||||
VmConfig:
|
VmConfig:
|
||||||
@ -718,6 +722,9 @@ components:
|
|||||||
items:
|
items:
|
||||||
type: integer
|
type: integer
|
||||||
format: int16
|
format: int16
|
||||||
|
iommu_address_width:
|
||||||
|
type: integer
|
||||||
|
format: uint8
|
||||||
serial_number:
|
serial_number:
|
||||||
type: string
|
type: string
|
||||||
uuid:
|
uuid:
|
||||||
@ -729,6 +736,9 @@ components:
|
|||||||
tdx:
|
tdx:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
sev_snp:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
|
||||||
MemoryZoneConfig:
|
MemoryZoneConfig:
|
||||||
required:
|
required:
|
||||||
|
@ -75,7 +75,7 @@ assets:
|
|||||||
url: "https://github.com/cloud-hypervisor/cloud-hypervisor"
|
url: "https://github.com/cloud-hypervisor/cloud-hypervisor"
|
||||||
uscan-url: >-
|
uscan-url: >-
|
||||||
https://github.com/cloud-hypervisor/cloud-hypervisor/tags.*/v?(\d\S+)\.tar\.gz
|
https://github.com/cloud-hypervisor/cloud-hypervisor/tags.*/v?(\d\S+)\.tar\.gz
|
||||||
version: "v41.0"
|
version: "v45.0"
|
||||||
|
|
||||||
firecracker:
|
firecracker:
|
||||||
description: "Firecracker micro-VMM"
|
description: "Firecracker micro-VMM"
|
||||||
|
Loading…
Reference in New Issue
Block a user