Merge pull request #9930 from likebreath/0627/clh_v40.0

Upgrade to Cloud Hypervisor v40.0
This commit is contained in:
Fabiano Fidêncio
2024-07-01 20:04:47 +02:00
committed by GitHub
7 changed files with 8 additions and 22 deletions

View File

@@ -655,7 +655,7 @@ components:
guest_numa_id: 3
rng:
iommu: false
src: /dev/urandom
src: src
sgx_epc:
- prefault: false
size: 7
@@ -1082,7 +1082,7 @@ components:
guest_numa_id: 3
rng:
iommu: false
src: /dev/urandom
src: src
sgx_epc:
- prefault: false
size: 7
@@ -1366,11 +1366,9 @@ components:
- 3
properties:
boot_vcpus:
default: 1
minimum: 1
type: integer
max_vcpus:
default: 1
minimum: 1
type: integer
topology:
@@ -1794,10 +1792,9 @@ components:
RngConfig:
example:
iommu: false
src: /dev/urandom
src: src
properties:
src:
default: /dev/urandom
type: string
iommu:
default: false

View File

@@ -4,8 +4,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**BootVcpus** | **int32** | | [default to 1]
**MaxVcpus** | **int32** | | [default to 1]
**BootVcpus** | **int32** | |
**MaxVcpus** | **int32** | |
**Topology** | Pointer to [**CpuTopology**](CpuTopology.md) | | [optional]
**KvmHyperv** | Pointer to **bool** | | [optional] [default to false]
**MaxPhysBits** | Pointer to **int32** | | [optional]

View File

@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Src** | **string** | | [default to "/dev/urandom"]
**Src** | **string** | |
**Iommu** | Pointer to **bool** | | [optional] [default to false]
## Methods

View File

@@ -43,10 +43,6 @@ func NewCpusConfig(bootVcpus int32, maxVcpus int32) *CpusConfig {
// but it doesn't guarantee that properties required by API are set
func NewCpusConfigWithDefaults() *CpusConfig {
this := CpusConfig{}
var bootVcpus int32 = 1
this.BootVcpus = bootVcpus
var maxVcpus int32 = 1
this.MaxVcpus = maxVcpus
var kvmHyperv bool = false
this.KvmHyperv = &kvmHyperv
return &this

View File

@@ -37,8 +37,6 @@ func NewRngConfig(src string) *RngConfig {
// but it doesn't guarantee that properties required by API are set
func NewRngConfigWithDefaults() *RngConfig {
this := RngConfig{}
var src string = "/dev/urandom"
this.Src = src
var iommu bool = false
this.Iommu = &iommu
return &this

View File

@@ -667,11 +667,9 @@ components:
properties:
boot_vcpus:
minimum: 1
default: 1
type: integer
max_vcpus:
minimum: 1
default: 1
type: integer
topology:
$ref: "#/components/schemas/CpuTopology"
@@ -736,7 +734,6 @@ components:
size:
type: integer
format: int64
default: 512 MB
file:
type: string
mergeable:
@@ -772,7 +769,6 @@ components:
size:
type: integer
format: int64
default: 512 MB
hotplug_size:
type: integer
format: int64
@@ -857,7 +853,7 @@ components:
type: string
rate_limiter_config:
$ref: "#/components/schemas/RateLimiterConfig"
VirtQueueAffinity:
required:
- queue_index
@@ -963,7 +959,6 @@ components:
properties:
src:
type: string
default: "/dev/urandom"
iommu:
type: boolean
default: false

View File

@@ -75,7 +75,7 @@ assets:
url: "https://github.com/cloud-hypervisor/cloud-hypervisor"
uscan-url: >-
https://github.com/cloud-hypervisor/cloud-hypervisor/tags.*/v?(\d\S+)\.tar\.gz
version: "v39.0"
version: "v40.0"
firecracker:
description: "Firecracker micro-VMM"