From 7fc0776aac192b4fdde9597e2e75bf6415a5371f Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Wed, 1 Dec 2021 22:03:19 +0100 Subject: [PATCH] build: Release v20.0 Signed-off-by: Sebastien Boeuf --- Cargo.lock | 2 +- Cargo.toml | 2 +- release-notes.md | 114 ++++++++++++++++++++++++++++++-------- rpm/cloud-hypervisor.spec | 5 +- vm-migration/src/lib.rs | 2 +- 5 files changed, 97 insertions(+), 28 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f543626bd..6be7d5926 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -186,7 +186,7 @@ dependencies = [ [[package]] name = "cloud-hypervisor" -version = "19.0.0" +version = "20.0.0" dependencies = [ "anyhow", "api_client", diff --git a/Cargo.toml b/Cargo.toml index aeae623a4..4623d9aef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cloud-hypervisor" -version = "19.0.0" +version = "20.0.0" authors = ["The Cloud Hypervisor Authors"] edition = "2018" default-run = "cloud-hypervisor" diff --git a/release-notes.md b/release-notes.md index 6967696ca..23b02e57a 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,3 +1,11 @@ +- [v20.0](#v200) + - [Multiple PCI segments support](#multiple-pci-segments-support) + - [CPU pinning](#cpu-pinning) + - [Improved VFIO support](#improved-vfio-support) + - [Safer code](#safer-code) + - [Extended documentation](#extended-documentation) + - [Notable bug fixes](#notable-bug-fixes) + - [Contributors](#contributors) - [v19.0](#v190) - [Improved PTY handling for serial and `virtio-console`](#improved-pty-handling-for-serial-and-virtio-console) - [PCI boot time optimisations](#pci-boot-time-optimisations) @@ -5,8 +13,8 @@ - [Live migration enhancements](#live-migration-enhancements) - [`virtio-mem` support with `vfio-user`](#virtio-mem-support-with-vfio-user) - [AArch64 for `virtio-iommu`](#aarch64-for-virtio-iommu) - - [Notable bug fixes](#notable-bug-fixes) - - [Contributors](#contributors) + - [Notable bug fixes](#notable-bug-fixes-1) + - [Contributors](#contributors-1) - [v18.0](#v180) - [Experimental User Device (`vfio-user`) support](#experimental-user-device-vfio-user-support) - [Migration support for `vhost-user` devices](#migration-support-for-vhost-user-devices) @@ -16,23 +24,23 @@ - [Live migration on MSHV hypervisor](#live-migration-on-mshv-hypervisor) - [AArch64 CPU topology support](#aarch64-cpu-topology-support) - [Power button support on AArch64](#power-button-support-on-aarch64) - - [Notable bug fixes](#notable-bug-fixes-1) - - [Contributors](#contributors-1) + - [Notable bug fixes](#notable-bug-fixes-2) + - [Contributors](#contributors-2) - [v17.0](#v170) - [ARM64 NUMA support using ACPI](#arm64-numa-support-using-acpi) - [`Seccomp` support for MSHV backend](#seccomp-support-for-mshv-backend) - [Hotplug of `macvtap` devices](#hotplug-of-macvtap-devices) - [Improved SGX support](#improved-sgx-support) - [Inflight tracking for `vhost-user` devices](#inflight-tracking-for-vhost-user-devices) - - [Notable bug fixes](#notable-bug-fixes-2) - - [Contributors](#contributors-2) + - [Notable bug fixes](#notable-bug-fixes-3) + - [Contributors](#contributors-3) - [v16.0](#v160) - [Improved live migration support](#improved-live-migration-support) - [Improved `vhost-user` support](#improved-vhost-user-support) - [ARM64 ACPI and UEFI support](#arm64-acpi-and-uefi-support) - - [Notable bug fixes](#notable-bug-fixes-3) + - [Notable bug fixes](#notable-bug-fixes-4) - [Removed functionality](#removed-functionality) - - [Contributors](#contributors-3) + - [Contributors](#contributors-4) - [v15.0](#v150) - [Version numbering and stability guarantees](#version-numbering-and-stability-guarantees) - [Network device rate limiting](#network-device-rate-limiting) @@ -40,7 +48,7 @@ - [`--api-socket` supports file descriptor parameter](#--api-socket-supports-file-descriptor-parameter) - [Bug fixes](#bug-fixes) - [Deprecations](#deprecations) - - [Contributors](#contributors-4) + - [Contributors](#contributors-5) - [v0.14.1](#v0141) - [v0.14.0](#v0140) - [Structured event monitoring](#structured-event-monitoring) @@ -50,7 +58,7 @@ - [PTY control for serial and `virtio-console`](#pty-control-for-serial-and-virtio-console) - [Block device rate limiting](#block-device-rate-limiting) - [Deprecations](#deprecations-1) - - [Contributors](#contributors-5) + - [Contributors](#contributors-6) - [v0.13.0](#v0130) - [Wider VFIO device support](#wider-vfio-device-support) - [Improved huge page support](#improved-huge-page-support) @@ -58,13 +66,13 @@ - [VHD disk image support](#vhd-disk-image-support) - [Improved Virtio device threading](#improved-virtio-device-threading) - [Clean shutdown support via synthetic power button](#clean-shutdown-support-via-synthetic-power-button) - - [Contributors](#contributors-6) + - [Contributors](#contributors-7) - [v0.12.0](#v0120) - [ARM64 enhancements](#arm64-enhancements) - [Removal of `vhost-user-net` and `vhost-user-block` self spawning](#removal-of-vhost-user-net-and-vhost-user-block-self-spawning) - [Migration of `vhost-user-fs` backend](#migration-of-vhost-user-fs-backend) - [Enhanced "info" API](#enhanced-info-api) - - [Contributors](#contributors-7) + - [Contributors](#contributors-8) - [v0.11.0](#v0110) - [`io_uring` support by default for `virtio-block`](#io_uring-support-by-default-for-virtio-block) - [Windows Guest Support](#windows-guest-support) @@ -76,15 +84,15 @@ - [Default Log Level Changed](#default-log-level-changed) - [New `--balloon` Parameter Added](#new---balloon-parameter-added) - [Experimental `virtio-watchdog` Support](#experimental-virtio-watchdog-support) - - [Notable Bug Fixes](#notable-bug-fixes-4) - - [Contributors](#contributors-8) + - [Notable Bug Fixes](#notable-bug-fixes-5) + - [Contributors](#contributors-9) - [v0.10.0](#v0100) - [`virtio-block` Support for Multiple Descriptors](#virtio-block-support-for-multiple-descriptors) - [Memory Zones](#memory-zones) - [`Seccomp` Sandbox Improvements](#seccomp-sandbox-improvements) - [Preliminary KVM HyperV Emulation Control](#preliminary-kvm-hyperv-emulation-control) - - [Notable Bug Fixes](#notable-bug-fixes-5) - - [Contributors](#contributors-9) + - [Notable Bug Fixes](#notable-bug-fixes-6) + - [Contributors](#contributors-10) - [v0.9.0](#v090) - [`io_uring` Based Block Device Support](#io_uring-based-block-device-support) - [Block and Network Device Statistics](#block-and-network-device-statistics) @@ -97,17 +105,17 @@ - [Enhancements to ARM64 Support](#enhancements-to-arm64-support) - [Intel SGX Support](#intel-sgx-support) - [`Seccomp` Sandbox Improvements](#seccomp-sandbox-improvements-1) - - [Notable Bug Fixes](#notable-bug-fixes-6) - - [Contributors](#contributors-10) + - [Notable Bug Fixes](#notable-bug-fixes-7) + - [Contributors](#contributors-11) - [v0.8.0](#v080) - [Experimental Snapshot and Restore Support](#experimental-snapshot-and-restore-support) - [Experimental ARM64 Support](#experimental-arm64-support) - [Support for Using 5-level Paging in Guests](#support-for-using-5-level-paging-in-guests) - [Virtio Device Interrupt Suppression for Network Devices](#virtio-device-interrupt-suppression-for-network-devices) - [`vhost_user_fs` Improvements](#vhost_user_fs-improvements) - - [Notable Bug Fixes](#notable-bug-fixes-7) + - [Notable Bug Fixes](#notable-bug-fixes-8) - [Command Line and API Changes](#command-line-and-api-changes) - - [Contributors](#contributors-11) + - [Contributors](#contributors-12) - [v0.7.0](#v070) - [Block, Network, Persistent Memory (PMEM), VirtioFS and Vsock hotplug](#block-network-persistent-memory-pmem-virtiofs-and-vsock-hotplug) - [Alternative `libc` Support](#alternative-libc-support) @@ -117,14 +125,14 @@ - [`Seccomp` Sandboxing](#seccomp-sandboxing) - [Updated Distribution Support](#updated-distribution-support) - [Command Line and API Changes](#command-line-and-api-changes-1) - - [Contributors](#contributors-12) + - [Contributors](#contributors-13) - [v0.6.0](#v060) - [Directly Assigned Devices Hotplug](#directly-assigned-devices-hotplug) - [Shared Filesystem Improvements](#shared-filesystem-improvements) - [Block and Networking IO Self Offloading](#block-and-networking-io-self-offloading) - [Command Line Interface](#command-line-interface) - [PVH Boot](#pvh-boot) - - [Contributors](#contributors-13) + - [Contributors](#contributors-14) - [v0.5.1](#v051) - [v0.5.0](#v050) - [Virtual Machine Dynamic Resizing](#virtual-machine-dynamic-resizing) @@ -132,7 +140,7 @@ - [New Interrupt Management Framework](#new-interrupt-management-framework) - [Development Tools](#development-tools) - [Kata Containers Integration](#kata-containers-integration) - - [Contributors](#contributors-14) + - [Contributors](#contributors-15) - [v0.4.0](#v040) - [Dynamic virtual CPUs addition](#dynamic-virtual-cpus-addition) - [Programmatic firmware tables generation](#programmatic-firmware-tables-generation) @@ -141,7 +149,7 @@ - [Userspace IOAPIC by default](#userspace-ioapic-by-default) - [PCI BAR reprogramming](#pci-bar-reprogramming) - [New `cloud-hypervisor` organization](#new-cloud-hypervisor-organization) - - [Contributors](#contributors-15) + - [Contributors](#contributors-16) - [v0.3.0](#v030) - [Block device offloading](#block-device-offloading) - [Network device backend](#network-device-backend) @@ -168,6 +176,64 @@ - [Unit testing](#unit-testing) - [Integration tests parallelization](#integration-tests-parallelization) +# v20.0 + +This release has been tracked through the [v20.0 +project](https://github.com/cloud-hypervisor/cloud-hypervisor/projects/23). + +### Multiple PCI segments support + +Cloud Hypervisor is no longer limited to 31 PCI devices. For both `x86_64` and +`aarch64` architectures, it is now possible to create up to 16 PCI segments, +increasing the total amount of supported PCI devices to 496. + +### CPU pinning + +For each vCPU, the user can define a limited set of host CPUs on which it is +allowed to run. This can be useful when assigning a 1:1 mapping between host and +guest resources, or when running a VM on a specific NUMA node. + +### Improved VFIO support + +Based on VFIO region capabilities, all regions can be memory mapped, limiting +the amount of triggered VM exits, and therefore increasing the performance of +the passthrough device. + +### Safer code + +Several sections containing unsafe Rust code have been replaced with safe +alternatives, and multiple comments have been added to clarify why the remaining +unsafe sections are safe to use. + +### Extended documentation + +The documentation related to VFIO has been updated while some new documents have +been introduced to cover the usage of `--cpus` parameter as well as how to run +Cloud Hypervisor on Intel TDX. + +### Notable bug fixes + +* Naturally align PCI BARs on relocation (#3244) +* Fix panic in SIGWINCH listener thread when no seccomp filter set (#3338) +* Use the tty raw mode implementation from libc (#3344) +* Fix the emulation of register D for CMOS/RTC device (#3393) + +### Contributors + +Many thanks to everyone who has contributed to our release: + +* Alyssa Ross +* Bo Chen +* Fabiano FidĂȘncio +* Michael Zhao +* Muminul Islam +* Rob Bradford +* Sebastien Boeuf +* Wei Liu +* Willen Yang +* William Douglas +* Ziye Yang + # v19.0 This release has been tracked through the [v19.0 diff --git a/rpm/cloud-hypervisor.spec b/rpm/cloud-hypervisor.spec index bba486cb4..27a8a26f6 100644 --- a/rpm/cloud-hypervisor.spec +++ b/rpm/cloud-hypervisor.spec @@ -9,7 +9,7 @@ Name: cloud-hypervisor Summary: Cloud Hypervisor is an open source Virtual Machine Monitor (VMM) that runs on top of KVM. -Version: 19.0 +Version: 20.0 Release: 0%{?dist} License: ASL 2.0 or BSD-3-clause Group: Applications/System @@ -112,6 +112,9 @@ rm -rf %{buildroot} %changelog +* Thu Dec 02 2021 Sebastien Boeuf 20.0-0 +- Update to 20.0 + * Mon Nov 08 2021 Fabiano FidĂȘncio 19.0-0 - Update to 19.0 diff --git a/vm-migration/src/lib.rs b/vm-migration/src/lib.rs index 4e98a5a0e..00567fb3c 100644 --- a/vm-migration/src/lib.rs +++ b/vm-migration/src/lib.rs @@ -15,7 +15,7 @@ use versionize::{VersionMap, Versionize}; pub mod protocol; /// Global VMM version for versioning -const MAJOR_VERSION: u16 = 19; +const MAJOR_VERSION: u16 = 20; const MINOR_VERSION: u16 = 0; const VMM_VERSION: u16 = MAJOR_VERSION << 12 | MINOR_VERSION & 0b1111;