Skip to content

Commit

Permalink
versions: Upgrade to cloud-hypervisor v16.0
Browse files Browse the repository at this point in the history
Highlights from the Cloud Hypervisor release v16.0: 1) Improved live
migration support; 2) Improved `vhost-user` support; 3) ARM64 ACPI and
UEFI support; 4) Bug fixes.

Details can be found: https://github.com/cloud-hypervisor/cloud-hypervisor/releases/tag/v16.0

Note: The client code of cloud-hypervisor's OpenAPI is automatically
generated by `openapi-generator` [1-2]. As the API changes do not
impact usages in Kata, no additional changes in kata's runtime are
needed to work with the current version of cloud-hypervisor.

[1] https://github.com/OpenAPITools/openapi-generator
[2] https://github.com/kata-containers/kata-containers/blob/main/src/runtime/virtcontainers/pkg/cloud-hypervisor/README.md

Fixes: #1992

Signed-off-by: Bo Chen <chen.bo@intel.com>
  • Loading branch information
likebreath committed Jun 10, 2021
1 parent 9d84272 commit 85c4000
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 24 deletions.
Expand Up @@ -519,12 +519,8 @@ components:
net:
- tap: tap
num_queues: 9
iommu: false
queue_size: 6
vhost_socket: vhost_socket
vhost_user: false
ip: 192.168.249.1
id: id
rate_limiter_config:
ops:
size: 0
Expand All @@ -535,18 +531,19 @@ components:
one_time_burst: 0
refill_time: 0
mac: mac
vhost_mode: client
iommu: false
vhost_socket: vhost_socket
vhost_user: false
id: id
fd:
- 8
- 8
mask: 255.255.255.0
- tap: tap
num_queues: 9
iommu: false
queue_size: 6
vhost_socket: vhost_socket
vhost_user: false
ip: 192.168.249.1
id: id
rate_limiter_config:
ops:
size: 0
Expand All @@ -557,6 +554,11 @@ components:
one_time_burst: 0
refill_time: 0
mac: mac
vhost_mode: client
iommu: false
vhost_socket: vhost_socket
vhost_user: false
id: id
fd:
- 8
- 8
Expand Down Expand Up @@ -813,12 +815,8 @@ components:
net:
- tap: tap
num_queues: 9
iommu: false
queue_size: 6
vhost_socket: vhost_socket
vhost_user: false
ip: 192.168.249.1
id: id
rate_limiter_config:
ops:
size: 0
Expand All @@ -829,18 +827,19 @@ components:
one_time_burst: 0
refill_time: 0
mac: mac
vhost_mode: client
iommu: false
vhost_socket: vhost_socket
vhost_user: false
id: id
fd:
- 8
- 8
mask: 255.255.255.0
- tap: tap
num_queues: 9
iommu: false
queue_size: 6
vhost_socket: vhost_socket
vhost_user: false
ip: 192.168.249.1
id: id
rate_limiter_config:
ops:
size: 0
Expand All @@ -851,6 +850,11 @@ components:
one_time_burst: 0
refill_time: 0
mac: mac
vhost_mode: client
iommu: false
vhost_socket: vhost_socket
vhost_user: false
id: id
fd:
- 8
- 8
Expand Down Expand Up @@ -1202,12 +1206,8 @@ components:
example:
tap: tap
num_queues: 9
iommu: false
queue_size: 6
vhost_socket: vhost_socket
vhost_user: false
ip: 192.168.249.1
id: id
rate_limiter_config:
ops:
size: 0
Expand All @@ -1218,6 +1218,11 @@ components:
one_time_burst: 0
refill_time: 0
mac: mac
vhost_mode: client
iommu: false
vhost_socket: vhost_socket
vhost_user: false
id: id
fd:
- 8
- 8
Expand Down Expand Up @@ -1248,6 +1253,9 @@ components:
type: boolean
vhost_socket:
type: string
vhost_mode:
default: client
type: string
id:
type: string
fd:
Expand Down
Expand Up @@ -372,9 +372,6 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err
return
}
_, err = (*f).Write(b)
if err != nil {
return
}
_, err = (*f).Seek(0, io.SeekStart)
return
}
Expand Down
Expand Up @@ -13,6 +13,7 @@ Name | Type | Description | Notes
**QueueSize** | **int32** | | [optional] [default to 256]
**VhostUser** | **bool** | | [optional] [default to false]
**VhostSocket** | **string** | | [optional]
**VhostMode** | **string** | | [optional] [default to client]
**Id** | **string** | | [optional]
**Fd** | **[]int32** | | [optional]
**RateLimiterConfig** | [**RateLimiterConfig**](RateLimiterConfig.md) | | [optional]
Expand Down
Expand Up @@ -20,6 +20,7 @@ type NetConfig struct {
QueueSize int32 `json:"queue_size,omitempty"`
VhostUser bool `json:"vhost_user,omitempty"`
VhostSocket string `json:"vhost_socket,omitempty"`
VhostMode string `json:"vhost_mode,omitempty"`
Id string `json:"id,omitempty"`
Fd []int32 `json:"fd,omitempty"`
RateLimiterConfig RateLimiterConfig `json:"rate_limiter_config,omitempty"`
Expand Down
Expand Up @@ -712,6 +712,9 @@ components:
default: false
vhost_socket:
type: string
vhost_mode:
type: string
default: "client"
id:
type: string
fd:
Expand Down
2 changes: 1 addition & 1 deletion versions.yaml
Expand Up @@ -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: "v15.0"
version: "v16.0"

firecracker:
description: "Firecracker micro-VMM"
Expand Down

0 comments on commit 85c4000

Please sign in to comment.