The libvirt project:
is a toolkit to manage virtualization platforms
is accessible from C, Python, Perl, Go and more
is licensed under open source licenses
supports KVM, Hypervisor.framework, QEMU, Xen, Virtuozzo, VMWare ESX, LXC, BHyve and more
targets Linux, FreeBSD, Windows and macOS
is used by many applications
Homepage
Download
Recent Releases
10.2.003 Apr 2024 22:45
major bugfix:
New features.
ch: Basic save and restore support for ch driver.
The ch driver now supports basic save and restore operations. This is.
Functional on domains without any network, host device config defined.
The `path` parameter for save and restore should be a directory.
Qemu: Support for driver type `mtp` in `` devices.
The `mtp` driver type exposes the `usb-mtp` device in QEMU. The.
Guest can access files on this driver through the Media Transfer
Protocol (MTP).
Qemu: Added support for the loongarch64 architecture.
It is now possible for libvirt to run loongarch64 guests, including on.
Other architectures via TCG. For the best results, it is recommended to
Use the upcoming QEMU 9.0.0 release together with the development version
of edk2.
Qemu: Introduce virDomainGraphicsReload API.
Reloading the graphics display is now supported for QEMU guests using
VNC. This is useful to make QEMU reload the TLS certificates without.
Restarting the guest. Available via the `virDomainGraphicsReload` API
And the `domdisplay-reload` virsh command.
.
Qemu: migration from libvirt older than 9.10.0 when vmx is enabled.
A domain with vmx feature enabled (which may be even done automatically.
With `mode='host-model'`) started by libvirt 9.9.0 or older cannot be
Migrated to libvirt 9.10.0, 10.0.0, and 10.1.0 as the target host would
Complain about a lot of extra `vmx-*` features. Migration of similar
Domains started by the affected releases to libvirt 9.9.0 and older
Does not work either. Since libvirt 10.2.0 migration works again with
Libvirt 9.9.0 and older in both directions. Migration from the affected
Releases to 10.2.0 works as well, but the other direction remains broken
Unless the is backported.
Node_device: Don't report spurious errors from PCI VPD parsing.
In last release the PCI Vital Product Data parser was enhanced to report.
Errors but that effort failed as some kernels have the file but don't allow
Reading it causing logs to be spammed with::
Libvirtd
10.1.001 Mar 2024 23:49
major feature:
* **Security**
* ``CVE-2024-1441``: Fix off-by-one error leading to a crash
In **libvirt-1.0.0** there were couple of interface listing APIs
introduced which had an off-by-one error. That error could lead to a
very rare crash if an array was passed to those functions which did
not fit all the interfaces.
In **libvirt-5.10** a check for non-NULL arrays has been adjusted to
allow for NULL arrays with size 0 instead of rejecting all NULL
arrays. However that made the above issue significantly worse since
that off-by-one error now did not write beyond an array, but
dereferenced said NULL pointer making the crash certain in a
specific scenario in which a NULL array of size 0 was passed to the
aforementioned functions.
* **New features**
* nodedev: Support updating mdevs
The node device driver has been extended to allow updating mediated node
devices. Options are available to target the update against the persistent,
active or both configurations of a mediated device.
**Note:** The support is only available with at least mdevctl v1.3.0 installed.
* qemu: Add support for /dev/userfaultfd
On hosts with new enough kernel which supports /dev/userfaultfd libvirt will
now automatically grant QEMU access to this device. It's no longer needed to
set vm.unprivileged_userfaultfd sysctl.
* qemu: Support clusters in CPU topology
It is now possible to configure the guest CPU topology to use clusters.
Additionally, if CPU clusters are present in the host topology, they will
be reported as part of the capabilities XML.
* network: Make virtual domains resolvable from the host
When starting a virtual network with a new ``register='yes'`` attribute
in the ```` element, libvirt will configure ``systemd-resolved``
to resolve names of the connected guests using the name server started
for this network.
* qemu: Introduce dynamicMemslots attribute for virtio-mem