diff --git a/Cargo.lock b/Cargo.lock index 2d9d4b274..d25780472 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -185,7 +185,7 @@ dependencies = [ [[package]] name = "cloud-hypervisor" -version = "18.0.0" +version = "19.0.0" dependencies = [ "anyhow", "api_client", diff --git a/Cargo.toml b/Cargo.toml index 0ea43646e..8a153668d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cloud-hypervisor" -version = "18.0.0" +version = "19.0.0" authors = ["The Cloud Hypervisor Authors"] edition = "2018" default-run = "cloud-hypervisor" diff --git a/release-notes.md b/release-notes.md index 39d58a7ab..03006f4af 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,3 +1,12 @@ +- [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) + - [Improved TDX support](#improved-tdx-support) + - [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) - [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) @@ -7,23 +16,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) - - [Contributors](#contributors) + - [Notable bug fixes](#notable-bug-fixes-1) + - [Contributors](#contributors-1) - [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-1) - - [Contributors](#contributors-1) + - [Notable bug fixes](#notable-bug-fixes-2) + - [Contributors](#contributors-2) - [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-2) + - [Notable bug fixes](#notable-bug-fixes-3) - [Removed functionality](#removed-functionality) - - [Contributors](#contributors-2) + - [Contributors](#contributors-3) - [v15.0](#v150) - [Version numbering and stability guarantees](#version-numbering-and-stability-guarantees) - [Network device rate limiting](#network-device-rate-limiting) @@ -31,7 +40,7 @@ - [`--api-socket` supports file descriptor parameter](#--api-socket-supports-file-descriptor-parameter) - [Bug fixes](#bug-fixes) - [Deprecations](#deprecations) - - [Contributors](#contributors-3) + - [Contributors](#contributors-4) - [v0.14.1](#v0141) - [v0.14.0](#v0140) - [Structured event monitoring](#structured-event-monitoring) @@ -41,7 +50,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-4) + - [Contributors](#contributors-5) - [v0.13.0](#v0130) - [Wider VFIO device support](#wider-vfio-device-support) - [Improved huge page support](#improved-huge-page-support) @@ -49,33 +58,33 @@ - [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-5) + - [Contributors](#contributors-6) - [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-6) + - [Contributors](#contributors-7) - [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) - [`vhost-user` "Self Spawning" Deprecation](#vhost-user-self-spawning-deprecation) - - [`virtio-mmmio` Removal](#virtio-mmmio-removal) + - [`virtio-mmio` Removal](#virtio-mmio-removal) - [Snapshot/Restore support for ARM64](#snapshotrestore-support-for-arm64) - [Improved Linux Boot Time](#improved-linux-boot-time) - [`SIGTERM/SIGINT` Interrupt Signal Handling](#sigtermsigint-interrupt-signal-handling) - [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-3) - - [Contributors](#contributors-7) + - [Notable Bug Fixes](#notable-bug-fixes-4) + - [Contributors](#contributors-8) - [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-4) - - [Contributors](#contributors-8) + - [Notable Bug Fixes](#notable-bug-fixes-5) + - [Contributors](#contributors-9) - [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) @@ -88,17 +97,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-5) - - [Contributors](#contributors-9) + - [Notable Bug Fixes](#notable-bug-fixes-6) + - [Contributors](#contributors-10) - [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-6) + - [Notable Bug Fixes](#notable-bug-fixes-7) - [Command Line and API Changes](#command-line-and-api-changes) - - [Contributors](#contributors-10) + - [Contributors](#contributors-11) - [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) @@ -108,14 +117,14 @@ - [`Seccomp` Sandboxing](#seccomp-sandboxing) - [Updated Distribution Support](#updated-distribution-support) - [Command Line and API Changes](#command-line-and-api-changes-1) - - [Contributors](#contributors-11) + - [Contributors](#contributors-12) - [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-12) + - [Contributors](#contributors-13) - [v0.5.1](#v051) - [v0.5.0](#v050) - [Virtual Machine Dynamic Resizing](#virtual-machine-dynamic-resizing) @@ -123,7 +132,7 @@ - [New Interrupt Management Framework](#new-interrupt-management-framework) - [Development Tools](#development-tools) - [Kata Containers Integration](#kata-containers-integration) - - [Contributors](#contributors-13) + - [Contributors](#contributors-14) - [v0.4.0](#v040) - [Dynamic virtual CPUs addition](#dynamic-virtual-cpus-addition) - [Programmatic firmware tables generation](#programmatic-firmware-tables-generation) @@ -132,7 +141,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-14) + - [Contributors](#contributors-15) - [v0.3.0](#v030) - [Block device offloading](#block-device-offloading) - [Network device backend](#network-device-backend) @@ -159,6 +168,69 @@ - [Unit testing](#unit-testing) - [Integration tests parallelization](#integration-tests-parallelization) +# v19.0 + +This release has been tracked through the [v19.0 +project](https://github.com/cloud-hypervisor/cloud-hypervisor/projects/22). + +### Improved PTY handling for serial and `virtio-console` + +The PTY support for serial has been enhanced with improved buffering when the +the PTY is not yet connected to. Using `virtio-console` with PTY now results in +the console being resized if the PTY window is also resized. + +### PCI boot time optimisations + +Multiple optimisations have been made to the PCI handling resulting in +significant improvements in the boot time of the guest. + +### Improved TDX support + +When using the latest TDVF firmware the ACPI tables created by the VMM are now +exposed via the firmware to the guest. + +### Live migration enhancements + +Live migration support has been enhanced to support migration with `virtio-mem` +based memory hotplug and the `virtio-balloon` device now supports live +migration. + +### `virtio-mem` support with `vfio-user` + +The use of `vfio-user` userspaces devices can now be used in conjunction with +`virtio-mem` based memory hotplug and unplug. + +### AArch64 for `virtio-iommu` + +A paravirtualised IOMMU can now be used on the AArch64 platform. + +### Notable bug fixes + +* ACPI hotplugged memory is correctly restored after a live migration or + snapshot/restore (#3165) +* Multiple devices from the same IOMMU group can be passed through via VFIO + (#3078 #3113) +* Live migration with large blocks of memory was buggy due to an in issue in + the underlying crate (#3157) + +### Contributors + +Many thanks to everyone who has contributed to our release: + +* Alyssa Ross +* Bo Chen +* Henry Wang +* Hui Zhu +* Jianyong Wu +* Li Yu +* Michael Zhao +* Muminul Islam +* Rob Bradford +* Sebastien Boeuf +* Wei Liu +* William Douglas +* Yu Li + # v18.0 This release has been tracked through the [v18.0 @@ -629,7 +701,7 @@ Automatically spawning a `vhost-user-net` or `vhost-user-block` backend is now deprecated. Users of this functionality will receive a warning and should make adjustments. The functionality will be removed in the next release. -### `virtio-mmmio` Removal +### `virtio-mmio` Removal Support for using the `virtio-mmio` transport, rather than using PCI, has been removed. This has been to simplify the code and significantly diff --git a/vm-migration/src/lib.rs b/vm-migration/src/lib.rs index 54c74f75a..4e98a5a0e 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 = 18; +const MAJOR_VERSION: u16 = 19; const MINOR_VERSION: u16 = 0; const VMM_VERSION: u16 = MAJOR_VERSION << 12 | MINOR_VERSION & 0b1111;