Commit Graph

18 Commits

Author SHA1 Message Date
Adolf Belka
1302f0cde8 libvirt: Update version to 8.10.0
- Update from version 8.9.0 to 8.10.0
- Update of rootfile
- Changelog
    v8.10.0 (2022-12-01)
	**New features**
		  * Tool for validating SEV firmware boot measurement of QEMU VMs
		     The ``virt-qemu-sev-validate`` program will compare a reported SEV/SEV-ES
		     domain launch measurement, to a computed launch measurement. This
		     determines whether the domain has been tampered with during launch.
		  * Support for SGX EPC (enclave page cache)
		     Users can add a ``<memory model='sgx-epc'>`` device to lauch a VM with
		     ``Intel Software Guard Extensions``.
		  * Support migration of vTPM state of QEMU vms on shared storage
		     Pass ``--migration`` option if appropriate in order for ``swtpm`` to
		     properly migrate on shared storage.
	**Improvements**
		  * Mark close callback (un-)register API as high priority
		     High priority APIs use a separate thread pool thus can help in eliminating
		     problems with stuck VMs. Marking the close callback API as high priority
		     allows ``virsh`` to properly connect to the daemon in case the normal
		     priority workers are stuck allowing other high priority API usage.
		  * Updated x86 CPU features
		     The following features for the x86 platform were added:
		      ``v-vmsave-vmload``, ``vgif``, ``avx512-vp2intersect``, ``avx512-fp16``,
		      ``serialize``, ``tsx-ldtrk``, ``arch-lbr``, ``xfd``, ``intel-pt-lip``,
		      ``avic``, ``sgx``, ``sgxlc``, ``sgx-exinfo``, ``sgx1``, ``sgx2``,
		      ``sgx-debug``, ``sgx-mode64``, ``sgx-provisionkey``, ``sgx-tokenkey``,
		      ``sgx-kss``, ``bus-lock-detect``, ``pks``, ``amx``.
		  * Add support for ``hv-avic`` Hyper-V enlightenment
		     ``qemu-6.2`` introduced support for the ``hv-avic`` enlightenment which
		     allows to use Hyper-V SynIC with hardware APICv/AVIC enabled.
		  * qemu: Run memory preallocation with numa-pinned threads
		     Run the thread allocating memory in the proper NUMA node to reduce overhead.
		  * RPM packaging changes
		    - add optional dependancy of ``libvirt-daemon`` on ``libvirt-client``
		       The ``libvirt-guests.`` tool requires the ``virsh`` client to work
		       properly, but we don't want to require the installation of the daemon
		       if the tool is not used.
		    - relax required ``python3-libvirt`` version for ``libvirt-client-qemu``
		       The ``virt-qemu-qmp-proxy`` tool requires python but doesn't strictly
		       need the newest version. Remove the strict versioning requirement in
		       order to prevent cyclic dependency when building.
	**Bug fixes**
		  * Skip initialization of ``cache`` capabilities if host doesn't support them
		     Hypervisor drivers would fail to initialize on ``aarch64`` hosts with
		     following error ::
		       virStateInitialize:657 : Initialisation of cloud-hypervisor state driver failed: no error
		     which prevented the startup of the daemon.
		  * Allow incoming connections to guests on routed networks w/firewalld
		     A change in handling of implicit rules in ``firewalld 1.0.0`` broke
		     incomming connections to VMs when using ``routed`` network. This is fixed
		     by adding a new ``libvirt-routed`` zone configured to once again allow
		     incoming sessions to guests on routed networks.
		  * Fix infinite loop in nodedev driver
		     Certain udev entries might be of a size that makes libudev emit EINVAL
		     which caused a busy loop burning CPU. Fix it by ignoring the return code.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-26 08:39:00 +00:00
Adolf Belka
81c3f9e1b9 libvirt: Update to version 8.9.0
- Update from 7.10.0 to 8.9.0
- Update of rootfile
- Removal of sheepdog_storage option in ./configure as it has been removed from libvirt
- Removal of libvirt-7.10.0-fix-glibc-headers.patch as contents are now built in to source
   tarball.
- Changelog is too large to include here. Details can be found in the NEWS.rst file in
   the source tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2022-11-25 11:58:27 +00:00
Arne Fitzenreiter
419aaf916c libvirt: ship arm cpu configfiles
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-02-13 08:55:24 +00:00
Adolf Belka
084bd67b62 libvirt: Update to version 7.10.0
- Update from 6.5.0 to 7.10.0 (17 releases between these versions)
- Update of rootfile
- Update of patch as source file contents changed enough that old patch failed to work
- Build changed to meson/ninja as autotools option has been removed
- Most of the existing options were available as meson options - look in
   meson_options.txt file in the source tarball.
   Three options were not available with meson
   --with-virtualport
   --with-macvtap
   --without-dbus
- Changelog is too large to include here (~1200 lines) but the detail can be seen in the
   NEWS.rst file in the source tarball. Many bug fixes identified in the changelog

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-01-14 13:42:04 +00:00
Michael Tremer
882ab515f9 libvirt: Ship all CPU maps
Reported-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-08-19 14:08:53 +00:00
Matthias Fischer
196cdadab8 libvirt: Update to 6.5.0
For details see:
https://libvirt.org/news.html

This update "just came my way" - I hope its somehow useful.

I also checked updates for dependencies - 'libusbredir 0.8.0' and 'qemu 5.0.0' follow.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-08-17 17:53:38 +00:00
Jonatan Schlag
5cc921b474 Libvirt: enable lvm
This was requested in the forum:

https://forum.ipfire.org/viewtopic.php?f=17&t=21872&p=120243&hilit=lvm#p120243

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-11-13 19:39:33 +00:00
Jonatan Schlag
62e116567a Libvirt: update to version 5.6.0
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-11-13 19:39:20 +00:00
Jonatan Schlag
909549b1d6 Update libvirt to version 4.10
This partially fixes #11941 as libvirt now states clearly that seccomp
needs to be disabled

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-12-18 22:33:07 +00:00
Michael Tremer
edacf85320 libvirt: Update to 4.6.0
Fixes builds against glibc >= 2.28

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-10-24 09:25:57 +01:00
Jonatan Schlag
e7edab7e55 libvirt: update to version 4.0
This version works for me. Some others do not ..

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-01-24 16:12:51 +00:00
Jonatan Schlag
8e5116af26 Update libvirt to 3.1.0
This patch update the libvirt library to version 3.1.0
We can not update to the latest version in the moment because version
3.2.0 has a annoying bug.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-04-16 17:29:11 +01:00
Jonatan Schlag
d2d13b36f4 Libvirt: Rootfile fixes
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-01-04 14:37:02 +00:00
Jonatan Schlag
9a015b5bd5 Update libvirt to 2.5
For Changelog see:
https://libvirt.org/news-2016.html

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-01-02 14:43:23 +00:00
Jonatan Schlag
d996e17ab8 Update libvirt to 2.1
This is the update of libvirt to the latest version 2.1.
The most important change from a packager view is the new virtlogd
daemon.
This daemon handles the qemu output and wrote it to log files.

The require some changes:
- A new init script to start, stop restart the daemon called virtlogd.
The daemon is restart with SIGUSR1 (this is important because the daemon
keeps all pipelines etc. open).

This introduces a problem with the uninstall.sh install.sh script.
It is not possible to stop the daemon while virtual machines are
running, so the script update.sh execute from now not uninstall.sh and
install.sh instead it contains all steps from uninstall.sh install.sh
expect the start / stop routine for virtlogd. The daemon is just
restarted after the update, which makes sure that all changes take
effect.

- new symlinks in the uninstall.sh and install.sh script and some root
file changes because of the new virtlogd init script.
- the archive format changes from tar.gz to tar.xz

For Changelogs see:

https://libvirt.org/news-2015.html
https://libvirt.org/news.html (2017 and later:
https://libvirt.org/news-2016.html )

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-08-31 22:40:35 +01:00
Jonatan Schlag
3a4a8b055b Libvirt: Add backup
The directory /etc/libvirt is backed up on uninstallation  and is
restored on installation.

Alle Files in  /var are commented in the rootfile so they are not
removed on uninstallation.
Because of the fact that the directories are not shipped with the
package they were created at installation time.
The permissions of 3 directories are changed because the qemu user is
nobody and the qemu group is kvm, so the permissions must be nobody:kvm

Fixes: #11151

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-08-02 16:07:33 +01:00
Arne Fitzenreiter
48c8961a4f libvirt: move initskript to package.
this also fix build on arm.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-06-13 07:19:05 +02:00
Jonatan Schlag
272ac1b454 New package libvirt
Libvirt is buidl only on i585 and x86_64 because qemu is build only
on this arches.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-01 22:26:01 +01:00