From 2c4f8d2218b2ba1213e088f928d6dfcdbdd8c6f1 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 8 Sep 2021 17:51:35 +0100 Subject: [PATCH] build: Release v18.0 Signed-off-by: Rob Bradford --- Cargo.lock | 2 +- Cargo.toml | 2 +- release-notes.md | 123 +++++++++++++++++++++++++++++++------- rpm/cloud-hypervisor.spec | 2 +- vm-migration/src/lib.rs | 2 +- 5 files changed, 107 insertions(+), 24 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4b66ce27a..f6e99a2d4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -190,7 +190,7 @@ dependencies = [ [[package]] name = "cloud-hypervisor" -version = "17.0.0" +version = "18.0.0" dependencies = [ "anyhow", "api_client", diff --git a/Cargo.toml b/Cargo.toml index e064853d7..ea9c5b79a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cloud-hypervisor" -version = "17.0.0" +version = "18.0.0" authors = ["The Cloud Hypervisor Authors"] edition = "2018" default-run = "cloud-hypervisor" diff --git a/release-notes.md b/release-notes.md index cc9185536..39d58a7ab 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,18 +1,29 @@ +- [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) + - [VHDX disk image support](#vhdx-disk-image-support) + - [Device pass through on MSHV hypervisor](#device-pass-through-on-mshv-hypervisor) + - [AArch64 for support `virtio-mem`](#aarch64-for-support-virtio-mem) + - [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) + - [Contributors](#contributors) - [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) - - [Contributors](#contributors) + - [Notable bug fixes](#notable-bug-fixes-1) + - [Contributors](#contributors-1) - [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-1) + - [Notable bug fixes](#notable-bug-fixes-2) - [Removed functionality](#removed-functionality) - - [Contributors](#contributors-1) + - [Contributors](#contributors-2) - [v15.0](#v150) - [Version numbering and stability guarantees](#version-numbering-and-stability-guarantees) - [Network device rate limiting](#network-device-rate-limiting) @@ -20,7 +31,7 @@ - [`--api-socket` supports file descriptor parameter](#--api-socket-supports-file-descriptor-parameter) - [Bug fixes](#bug-fixes) - [Deprecations](#deprecations) - - [Contributors](#contributors-2) + - [Contributors](#contributors-3) - [v0.14.1](#v0141) - [v0.14.0](#v0140) - [Structured event monitoring](#structured-event-monitoring) @@ -30,7 +41,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-3) + - [Contributors](#contributors-4) - [v0.13.0](#v0130) - [Wider VFIO device support](#wider-vfio-device-support) - [Improved huge page support](#improved-huge-page-support) @@ -38,13 +49,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-4) + - [Contributors](#contributors-5) - [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-5) + - [Contributors](#contributors-6) - [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) @@ -56,15 +67,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-2) - - [Contributors](#contributors-6) + - [Notable Bug Fixes](#notable-bug-fixes-3) + - [Contributors](#contributors-7) - [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-3) - - [Contributors](#contributors-7) + - [Notable Bug Fixes](#notable-bug-fixes-4) + - [Contributors](#contributors-8) - [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) @@ -77,17 +88,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-4) - - [Contributors](#contributors-8) + - [Notable Bug Fixes](#notable-bug-fixes-5) + - [Contributors](#contributors-9) - [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-5) + - [Notable Bug Fixes](#notable-bug-fixes-6) - [Command Line and API Changes](#command-line-and-api-changes) - - [Contributors](#contributors-9) + - [Contributors](#contributors-10) - [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) @@ -97,14 +108,14 @@ - [`Seccomp` Sandboxing](#seccomp-sandboxing) - [Updated Distribution Support](#updated-distribution-support) - [Command Line and API Changes](#command-line-and-api-changes-1) - - [Contributors](#contributors-10) + - [Contributors](#contributors-11) - [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-11) + - [Contributors](#contributors-12) - [v0.5.1](#v051) - [v0.5.0](#v050) - [Virtual Machine Dynamic Resizing](#virtual-machine-dynamic-resizing) @@ -112,7 +123,7 @@ - [New Interrupt Management Framework](#new-interrupt-management-framework) - [Development Tools](#development-tools) - [Kata Containers Integration](#kata-containers-integration) - - [Contributors](#contributors-12) + - [Contributors](#contributors-13) - [v0.4.0](#v040) - [Dynamic virtual CPUs addition](#dynamic-virtual-cpus-addition) - [Programmatic firmware tables generation](#programmatic-firmware-tables-generation) @@ -121,7 +132,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-13) + - [Contributors](#contributors-14) - [v0.3.0](#v030) - [Block device offloading](#block-device-offloading) - [Network device backend](#network-device-backend) @@ -148,6 +159,78 @@ - [Unit testing](#unit-testing) - [Integration tests parallelization](#integration-tests-parallelization) +# v18.0 + +This release has been tracked through the [v18.0 +project](https://github.com/cloud-hypervisor/cloud-hypervisor/projects/21). + +### Experimental User Device (`vfio-user`) support + +Experimental support for running PCI devices in userspace via `vfio-user` +has been included. This allows the use of the SPDK NVMe `vfio-user` controller +with Cloud Hypervisor. This is enabled by `--user-device` on the command line. + +### Migration support for `vhost-user` devices + +Devices exposed into the VM via `vhost-user` can now be migrated using the live +migration support. This requires support from the backend however the commonly +used DPDK `vhost-user` backend does support this. + +### VHDX disk image support + +Images using the VHDX disk image format can now be used with Cloud Hypervisor. + +### Device pass through on MSHV hypervisor + +When running on the MSHV hypervisor it is possible to pass through devices from +the host through to the guest (e.g with `--device`) + +### AArch64 for support `virtio-mem` + +The reference Linux kernel we recommend for using with Cloud Hypervisor now supports `virtio-mem` on AArch64. + +### Live migration on MSHV hypervisor + +Live migration is now supported when running on the MSHV hypervisor including +efficient tracking of dirty pages. + +### AArch64 CPU topology support + +The CPU topology (as configured through `--cpu topology=`) can now be +configured on AArch64 platforms and is conveyed through either ACPI or device +tree. + +### Power button support on AArch64 + +Use of the ACPI power button (e.g `ch-remote --api-socket= power-button`) +is now supported when running on AArch64. + +### Notable bug fixes + +* Using two PTY outputs e.g. `--serial pty --console pty` now works correctly (#3012) +* TTY input is now always sent to the correct destination (#3005) +* The boot is no longer blocked when using a unattached PTY on the serial console (#3004) +* Live migration is now supported on AArch64 (#3049) +* Ensure signal handlers are run on the correct thread (#3069) + +### Contributors + +Many thanks to everyone who has contributed to our release: + +* Alyssa Ross +* Anatol Belski +* Arafatms +* Bo Chen +* Fazla Mehrab +* Henry Wang +* Jianyong Wu +* Jiaqi Gao +* Markus Theil +* Muminul Islam +* Rob Bradford +* Sebastien Boeuf +* Wei Liu +* Yu Li # v17.0 diff --git a/rpm/cloud-hypervisor.spec b/rpm/cloud-hypervisor.spec index 74175c166..b3d9acea8 100644 --- a/rpm/cloud-hypervisor.spec +++ b/rpm/cloud-hypervisor.spec @@ -1,6 +1,6 @@ Name: cloud-hypervisor Summary: Cloud Hypervisor is an open source Virtual Machine Monitor (VMM) that runs on top of KVM. -Version: 15.0 +Version: 18.0 Release: 0%{?dist} License: ASL 2.0 or BSD-3-clause Group: Applications/System diff --git a/vm-migration/src/lib.rs b/vm-migration/src/lib.rs index 0bb3fe3b8..54c74f75a 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 = 17; +const MAJOR_VERSION: u16 = 18; const MINOR_VERSION: u16 = 0; const VMM_VERSION: u16 = MAJOR_VERSION << 12 | MINOR_VERSION & 0b1111;