]>
git.ipfire.org Git - thirdparty/libvirt.git/log
Pavel Hrdina [Wed, 29 Apr 2020 08:18:37 +0000 (10:18 +0200)]
meson: add openwsman build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Apr 2020 13:43:09 +0000 (15:43 +0200)]
meson: add numactl build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:27:40 +0000 (13:27 +0200)]
meson: add nls build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:27:31 +0000 (13:27 +0200)]
meson: add netcf build options
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:27:22 +0000 (13:27 +0200)]
meson: add libxml build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Apr 2020 09:07:42 +0000 (11:07 +0200)]
meson: add libssh2 build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:27:12 +0000 (13:27 +0200)]
meson: add libssh build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:27:03 +0000 (13:27 +0200)]
meson: add libpcap build option
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Apr 2020 10:08:51 +0000 (12:08 +0200)]
meson: add libparted dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Apr 2020 10:08:33 +0000 (12:08 +0200)]
meson: add libnl build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Apr 2020 08:52:38 +0000 (10:52 +0200)]
meson: add macvtap build option
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:26:48 +0000 (13:26 +0200)]
meson: add libiscsi build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Tue, 30 Jun 2020 17:53:36 +0000 (19:53 +0200)]
meson: add kvm build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:26:37 +0000 (13:26 +0200)]
meson: add hal build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Apr 2020 10:07:33 +0000 (12:07 +0200)]
meson: add GnuTLS build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:26:27 +0000 (13:26 +0200)]
meson: add glusterfs build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Apr 2020 10:06:37 +0000 (12:06 +0200)]
meson: add GLib dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 1 Jul 2020 01:10:10 +0000 (03:10 +0200)]
meson: add fuse build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:26:08 +0000 (13:26 +0200)]
meson: add firewalld_zone build option
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:25:51 +0000 (13:25 +0200)]
meson: add firewalld build option
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Apr 2020 08:34:31 +0000 (10:34 +0200)]
meson: add dlopen build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Apr 2020 08:32:28 +0000 (10:32 +0200)]
meson: add devmapper build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:25:38 +0000 (13:25 +0200)]
meson: add dbus build dependency
Convert #if VAL into #ifdef VAL in order to make meson more readable and
because it's not necessary to have both defines existing.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:25:26 +0000 (13:25 +0200)]
meson: add curl build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:25:16 +0000 (13:25 +0200)]
meson: add capng build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:25:04 +0000 (13:25 +0200)]
meson: add blkid build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:24:53 +0000 (13:24 +0200)]
meson: add bash_completion build options
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Jul 2020 12:20:43 +0000 (14:20 +0200)]
meson: add readline build option
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Jul 2020 12:20:29 +0000 (14:20 +0200)]
meson: add audit build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Jul 2020 12:20:15 +0000 (14:20 +0200)]
meson: add attr build option
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Jul 2020 12:19:59 +0000 (14:19 +0200)]
meson: add AppArmor build dependency
APPARMOR_MOUNT is not used so dropping it in meson.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Mon, 2 Mar 2020 14:14:14 +0000 (15:14 +0100)]
meson: add acl build dependency
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 29 Jul 2020 12:16:58 +0000 (14:16 +0200)]
meson: add driver_remote option only into meson_options.txt
We cannot add the full option with the code in meson.build because it
depends on xdr option which will be introduced later but we have to have
the option present because it is used by libssh, libssh2 and sasl
options so we need to break the circular dependency.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 10:17:39 +0000 (12:17 +0200)]
meson: add iscsiadm as optional program
We compile src/util/viriscsi unconditionally where we require ISCSIADM
to be defined.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Tue, 30 Jun 2020 17:53:09 +0000 (19:53 +0200)]
meson: add programs checks
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Tue, 30 Jun 2020 12:07:19 +0000 (14:07 +0200)]
meson: add sizeof check
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Tue, 30 Jun 2020 12:17:11 +0000 (14:17 +0200)]
meson: add members check
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Tue, 30 Jun 2020 12:07:07 +0000 (14:07 +0200)]
meson: add types check
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Tue, 30 Jun 2020 12:06:50 +0000 (14:06 +0200)]
meson: add symbols check
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Tue, 21 Jul 2020 13:23:48 +0000 (15:23 +0200)]
meson: add headers check
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Fri, 10 Jul 2020 07:48:30 +0000 (09:48 +0200)]
meson: add functions check
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 17 Jun 2020 22:53:35 +0000 (00:53 +0200)]
meson: add include directory
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 17 Jun 2020 22:53:18 +0000 (00:53 +0200)]
meson: add scripts directory
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:22:55 +0000 (13:22 +0200)]
meson: add linker checks
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Fri, 24 Jul 2020 14:35:03 +0000 (16:35 +0200)]
meson: add compiler warnings
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Thu, 30 Apr 2020 12:50:46 +0000 (14:50 +0200)]
meson: add manywarnings
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Tue, 30 Jun 2020 17:27:33 +0000 (19:27 +0200)]
meson: add static analysis detection
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Thu, 30 Apr 2020 12:56:21 +0000 (14:56 +0200)]
meson: add test_coverage build option
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Fri, 24 Jul 2020 14:07:05 +0000 (16:07 +0200)]
meson: add expensive_tests build option
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Tue, 28 Jul 2020 15:22:42 +0000 (17:22 +0200)]
meson: add packager build options
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Thu, 18 Jun 2020 13:25:15 +0000 (15:25 +0200)]
meson: generate configmake.h
We don't use all of the defines so copy only the ones actually used.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Tue, 16 Jun 2020 21:47:04 +0000 (23:47 +0200)]
meson: set windows variables for AI_ADDRCONFIG
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 17 Jun 2020 19:41:28 +0000 (21:41 +0200)]
meson: move content from config-post.h to config.h
With meson we generate meson-config.h into the build directory and
include it in config.h so there is no need to have separate
config-post.h file.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:20:40 +0000 (13:20 +0200)]
meson: build everything with PIE
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Mon, 3 Aug 2020 06:50:49 +0000 (08:50 +0200)]
meson: introduce meson build files
The PACKAGE* variables are defined by AC_INIT so we have to define
explicitly with meson.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Fri, 24 Jul 2020 12:02:39 +0000 (14:02 +0200)]
meson: tests: virmockstathelpers: replace check for _FILE_OFFSET_BITS
Meson always defines _FILE_OFFSET_BITS=64 which effectively makes
mocking of non 64-bit stat functions dead code.
On linux it was not an issue because we use the 64-bit versions but
on FreeBSD there are not 64-bit versions, there is only stat & lstat.
We cannot simply drop the check as that would resolve to compilation
error on 64-bit linux:
{standard input}: Assembler messages:
{standard input}:11468: Error: symbol `__xstat64' is already defined
{standard input}:11679: Error: symbol `__xstat64.cold' is already defined
{standard input}:12034: Error: symbol `__lxstat64' is already defined
{standard input}:12245: Error: symbol `__lxstat64.cold' is already defined
So we have to replace the _FILE_OFFSET_BITS with a check if the
corresponding 64-bit version of the stat function exists.
Replicate the meson behavior by always defining _FILE_OFFSET_BITS
instead of using AC_SYS_LARGEFILE otherwise this change would break
our tests.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Fri, 10 Jul 2020 10:07:16 +0000 (12:07 +0200)]
meson: src/util/virfile: rewrite virFileActivateDirOverrideForProg
With meson we no longer have .libs directory with the actual binary so
we have to take a different approach to detect if running from build
directory.
This is not as robust as for autotools because if you select --prefix
in the build directory it will incorrectly enable the override as well
but nobody should do that.
We have to modify some of the tests to not add current build path into
PATH variable and use the full path for virsh instead. Otherwise it
would be impossible to figure out that we are running virsh from build
directory.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Thu, 25 Jun 2020 21:20:56 +0000 (23:20 +0200)]
meson: syntax-check: drop Makefile and m4 related checks
Rewrite to meson will eliminate most of the Makefile and all of m4
files so there is no need to check them.
We still need to ignore mk files otherwise syntax-check.mk would be
considered as well.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Mon, 27 Jul 2020 06:12:25 +0000 (08:12 +0200)]
meson: Makefile: drop cov target
Coverage functionality is provided directly by meson so there is no need
to convert it into meson.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Fri, 24 Jul 2020 14:04:19 +0000 (16:04 +0200)]
meson: drop test_suite configure argument
With autoconf this option controlled if the test suite is compiled by
default or not with the fact that it will be compiled later when
running `make check`.
With meson it is not possible to compile it later when running
`ninja test` as it will be always compiled if referenced by `test()`
function in meson.build files.
Since we cannot postpone compilation of the test suite drop this option
as it will not be converted to meson.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Wed, 24 Jun 2020 11:59:07 +0000 (13:59 +0200)]
meson: drop driver_module configure argument
Building without driver_module is not supported anymore so drop the
option before switching to meson as we will not introduce it there.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Fri, 24 Jul 2020 14:41:06 +0000 (16:41 +0200)]
meson: drop default_editor configure argument
Most likely rarely changed with configure option and it is used only
as fallback if there is no VISUAL or EDITOR environment variable.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Fri, 24 Jul 2020 14:30:06 +0000 (16:30 +0200)]
meson: drop debug_logs configure argument
There is no point of having this option in libvirt because the debug
logs can be configured using log filters.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Mon, 13 Jul 2020 12:59:41 +0000 (14:59 +0200)]
meson: remove automake specific directives
EXTRA_DIST is not relevant because meson makes a git copy when creating
dist archive so everything tracked by git is part of dist tarball.
The remaining ones are not converted to meson files as they are
automatically tracked by meson.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Pavel Hrdina [Tue, 14 Jul 2020 14:29:26 +0000 (16:29 +0200)]
meson: ci: increase git clone depth to 1000
Having limit set to 100 is in most cases perfect but sometimes there can
be a larger series that will have more than 100 patches and it will make
the check-dco job fail.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Ján Tomko [Fri, 31 Jul 2020 12:51:00 +0000 (14:51 +0200)]
ci: run container jobs right away
The jobs building containers do not depend on anything.
Make this explicit by including the 'needs' keyword in case
we need to shuffle around the stages in the future.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Ján Tomko [Tue, 28 Jul 2020 23:06:30 +0000 (01:06 +0200)]
ci: run Cirrus-based builds sooner
Jobs using cirrus-run don't need to wait for any jobs from
the container stage. Run them as soon as possible.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Ján Tomko [Tue, 28 Jul 2020 12:32:40 +0000 (14:32 +0200)]
ci: add clang jobs
Run the build with clang on Fedora Rawhide, Debian 10 and CentOS 8.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Ján Tomko [Tue, 28 Jul 2020 12:24:27 +0000 (14:24 +0200)]
ci: refresh Dockerfiles
The corresponding libvirt-ci commit is:
commit
512b1011559165e3f37eae675dd43a431b95baa3
projects: install clang on Linux
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Ján Tomko [Tue, 28 Jul 2020 00:58:58 +0000 (02:58 +0200)]
tests: bhyve: remove unnecessary labels
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Reviewed-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Ján Tomko [Tue, 28 Jul 2020 00:59:58 +0000 (02:59 +0200)]
tests: bhyve: use g_autoptr where possible
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Reviewed-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Ján Tomko [Tue, 28 Jul 2020 00:56:33 +0000 (02:56 +0200)]
tests: bhyve: use g_autofree where possible
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Reviewed-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Ján Tomko [Tue, 28 Jul 2020 00:55:33 +0000 (02:55 +0200)]
tests: bhyve: split variable declarations
One variable per line.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Reviewed-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Ján Tomko [Tue, 28 Jul 2020 21:17:02 +0000 (23:17 +0200)]
tests: qemu: remove unnecessary labels
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Ján Tomko [Tue, 28 Jul 2020 20:12:34 +0000 (22:12 +0200)]
tests: qemu: use VIR_AUTOSTRINGLIST where possible
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Ján Tomko [Tue, 28 Jul 2020 19:58:18 +0000 (21:58 +0200)]
tests: qemu: use g_autoptr where possible
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Ján Tomko [Tue, 28 Jul 2020 19:57:28 +0000 (21:57 +0200)]
tests: qemu: use g_autofree where possible
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Ján Tomko [Tue, 28 Jul 2020 19:59:45 +0000 (21:59 +0200)]
tests: qemucapsxml2xmltest: split variable declaration
One variable per line.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Ján Tomko [Tue, 28 Jul 2020 20:01:22 +0000 (22:01 +0200)]
tests: qemu: reduce scope of some variables
Reduce the scope of some variables and mark them as
g_autofree.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Ján Tomko [Tue, 28 Jul 2020 00:51:27 +0000 (02:51 +0200)]
tests: commandtest: drop unnecessary labels
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Ján Tomko [Tue, 28 Jul 2020 00:42:01 +0000 (02:42 +0200)]
tests: commandtest: use VIR_AUTOCLOSE
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Ján Tomko [Tue, 28 Jul 2020 00:37:13 +0000 (02:37 +0200)]
tests: commandtest: use g_autoptr for virCommand
Except for a few cases where freeing it explicitly
seems to be done on purpose.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Ján Tomko [Tue, 28 Jul 2020 00:30:59 +0000 (02:30 +0200)]
tests: commandtest: use g_autofree
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Ján Tomko [Tue, 28 Jul 2020 00:21:09 +0000 (02:21 +0200)]
tests: commandtest: remove unused 'prefix' parameter
The 'checkoutput' function does have a parameter for a possible
prefix, but it is now unused.
Introduced-by: 241ac07124a3172dc38198d777eb3f04846f6c52
Used-by: 62f263a73e8202f2af7309d10000a3b9a66e6b57
Unused-since:
2dfacbffea47743fff942b6401f5f36b3ae4655a
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
Ján Tomko [Mon, 27 Jul 2020 23:38:34 +0000 (01:38 +0200)]
util: netdevip: remove unused VIR_NETDEV_FAMILY
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: cf0568b0af4ef4f903da1b184fc9b232c6f29457
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Ján Tomko [Mon, 27 Jul 2020 23:38:47 +0000 (01:38 +0200)]
util: vportprofile: remove unused constants
After the switch to libnl these are no longer used.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: 77e7c13b2ef95724c39395d92725b1a892ff84de
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Ján Tomko [Mon, 27 Jul 2020 23:40:27 +0000 (01:40 +0200)]
virt-admin: remove unused VIRT_ADMIN_TIME_BUFLEN
The switch to GDateTime removed the last use.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: 3caa28dc50df7ec215713075d669b20bef6473a2
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Ján Tomko [Mon, 27 Jul 2020 23:39:13 +0000 (01:39 +0200)]
virsh: remove unused FILTER macro
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: c2dd9ddf7b18ebfb108623d4711c80b716a261d7
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Ján Tomko [Mon, 27 Jul 2020 23:37:14 +0000 (01:37 +0200)]
util: remove unused VIR_MCAST_ADDR_LEN
Unused since its introduction.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: cc0e8c244d080f56392278e836cc378ba848e7aa
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Ján Tomko [Mon, 27 Jul 2020 23:34:55 +0000 (01:34 +0200)]
test: remove unused NUM_CELLS
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: 2bd7ed78a7cd68775de8cb912c7a57db7721a10b
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Ján Tomko [Mon, 27 Jul 2020 23:34:24 +0000 (01:34 +0200)]
storage: scsi: remove unused LINUX_SYSFS_SCSI_HOST_POSTFIX
Unused since its introduction.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: 81d0ffbc3baee53467f664ea03b1349e8b6dba5a
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Ján Tomko [Mon, 27 Jul 2020 23:32:21 +0000 (01:32 +0200)]
storage: logical: drop unused PV_BLANK_SECTOR_SIZE
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: d942bf6e9e8e3991808ca5185098257e84acab5d
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Ján Tomko [Mon, 27 Jul 2020 23:30:33 +0000 (01:30 +0200)]
locking: sanlock: drop unused LOCKSPACE_SLEEP
After dropping support for sanlock < 2.4,
this constant is no longer used.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: c4951694786ecd45424769979762c17e4c8e56d0
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
Ján Tomko [Sat, 25 Jul 2020 07:49:38 +0000 (09:49 +0200)]
conf: scheduler parser: do not hardcode element name
When trying to parse an XML with overlapping iothread scheduler
settings, the error message was rather confusing:
error: iothreadssched attributes 'vcpus' must not overlap
Pass the correct element name.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Ján Tomko [Sat, 25 Jul 2020 07:42:14 +0000 (09:42 +0200)]
conf: pass elementName to virDomainThreadSchedParseHelper
Pass the scheduler element name instead of trying to reconstructing
it from the attribute name.
This has the benefit of not mixing '%s' with regular text in
translatable strings as well as preventing the confusion when
the 's' marking the plural in the element name ('vcpus') is taken
as a first letter of the 'sched' suffix.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: 7ea55a481dd45f09b54425005362533ecc800cd2
Fixes: 99c5fe0e7c26c08103415248ffef1f5acb81ddc7
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Ján Tomko [Sat, 25 Jul 2020 07:29:36 +0000 (09:29 +0200)]
conf: rename 'name' in scheduler parser
virDomainThreadSchedParseHelper is used for parsing both iothread
and vcpu scheduling settings. Rename its 'name' attribute to
make it obvious this refers to the attribute name, not the name of
the element (which is currently constructed from the attribute name).
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Ján Tomko [Tue, 28 Jul 2020 09:05:16 +0000 (11:05 +0200)]
ci: move sanity_checks after other stages
Be less hostile to developers and run the build jobs even
if the dco-check failed. That way they can test their own
"private" branches without a sign-off.
Also specify empty `needs` for it, since it does not depend
on any of the jobs in the container phase and can be run
right away.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Peter Krempa [Fri, 31 Jul 2020 13:23:56 +0000 (15:23 +0200)]
qemu: snapshot: Collect 'query-named-block-nodes' prior to memory migration
When doing an external snapshot we migrate memory to a file as a form of
taking the memory state. This creates a problem as qemu deactivates all
active bitmaps after a successful migration. This means that calling
'query-named-block-nodes' will return an empty list of bitmaps for
devices. We use the bitmap list to propagate the active bitmaps into the
overlay files being created which is required for backups to work after
a snapshot. Since we wouldn't propagate anything a subsequent backup
will fail with:
invalid argument: missing or broken bitmap 'testchck' for disk 'vda'
To fix this, we can simply collect the bitmap list prior to the
migration.
https://bugzilla.redhat.com/show_bug.cgi?id=
1862472
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Jiri Denemark [Sun, 2 Aug 2020 22:21:59 +0000 (00:21 +0200)]
Post-release version bump to 6.7.0
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Jiri Denemark [Sun, 2 Aug 2020 22:20:01 +0000 (00:20 +0200)]
Release of libvirt-6.6.0
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>