So I was finally able to produce the patches to port libvirt to Meson. Obviously, it is a lot of changes. It might look that some of the patches could be squashed together but I would rather have it as separated as possible to make the review not that difficult. Once we are done with review I suggest to squash all patches to single patch as it doesn't make sense to keep them separated as it will not be possible to build complete libvirt code by any of the build systems. Trying to achieve that would be even more challenging and the review would me more difficult. The reasoning behind taking this approach is to have 1:1 conversion from autotools to Meson where each patch removes that part from autotools. It serves as a check that nothing is skipped and to make sure that the conversion is complete. As probably most of us know Meson is completely different build system and one of the most challenging things was to deal with the fact that meson doesn't allow user functions and that everything has to be defined before it is used. Patches are available in my Gitlab repo as well: git clone -b meson https://gitlab.com/phrdina/libvirt.git and link to Giltab pipeline: https://gitlab.com/phrdina/libvirt/-/pipelines/167276632 The pipeline is not for the latest version is I tweaked some commit messages. Pavel Hrdina (351): meson: ci: increase git clone depth to 1000 meson: remove automake specific directives meson: drop driver_module configure argument meson: drop loader_nvram build option meson: Makefile: drop cov target meson: syntax-check: drop Makefile and m4 related checks meson: m4: drop not relevant m4 files meson: src/util/virfile: rewrite virFileActivateDirOverrideForProg meson: tests: remove '.libs' from all relevant paths meson: introduce meson build files meson: build everything with PIE meson: move content from config-post.h to config.h meson: set windows variables for AI_ADDRCONFIG meson: generate configmake.h meson: add packager build options meson: add test_suite build option meson: add expensive_tests build option meson: add test_coverage build option meson: add static analysis detection meson: add manywarnings meson: add compiler warnings meson: add linker checks meson: add scripts directory meson: add include directory meson: add functions check meson: add headers check meson: add symbols check meson: add types check meson: add members check meson: add sizeof check meson: add programs checks meson: add iscsiadm as optional program meson: add acl build dependency meson: add AppArmor build dependency meson: add attr build option meson: add audit build dependency meson: add readline build option meson: add bash_completion build options meson: add blkid build dependency meson: add capng build dependency meson: add curl build dependency meson: add dbus build dependency meson: add devmapper build dependency meson: add dlopen build dependency meson: add firewalld build option meson: add firewalld_zone build option meson: add fuse build dependency meson: add GLib dependency meson: add glusterfs build dependency meson: add GnuTLS build dependency meson: add hal build dependency meson: add kvm build dependency meson: add libiscsi build dependency meson: add macvtap build option meson: add libnl build dependency meson: add libparted dependency meson: add libpcap build option meson: add libssh build dependency meson: add libssh2 build dependency meson: add libxml build dependency meson: add netcf build options meson: add nls build dependency meson: add numactl build dependency meson: add openwsman build dependency meson: add parallels-sdk build check meson: add pciaccess build option meson: add polkit build option meson: add rbd build dependency meson: add sanlock build option meson: add sasl build dependency meson: add SELinux build dependency meson: add thread build dependency meson: add udev build options meson: add util build dependency meson: add virtualport build dependency meson: add win32 build dependency meson: add wireshark build dependency meson: add xdr build dependency meson: add yajl build dependency meson: add driver_remote build option meson: add libvirtd driver build option meson: add BHyVe build option meson: add ESX driver build option meson: add Hyper-V driver build option meson: add libxl driver build option meson: add LXC driver build option meson: add OpenVZ driver build option meson: add qemu driver build options meson: add test driver build option meson: add vbox driver build options meson: add VMWare driver build option meson: add Virtuozzo driver build option meson: add secdriver build options meson: add network driver build option meson: add interface driver build option meson: add secrets driver build option meson: add node_device driver check meson: add storage build check meson: add storage dir build option meson: add storage disk build option meson: add storage fs driver build option meson: add storage gluster build option meson: add storage iscsi build option meson: add storage iscsi-direct build option meson: add storage lvm build options meson: add storage mpath build options meson: add storage rbd build option meson: add storage SCSI build option meson: add storage sheepdog build option meson: add storage vstorage build option meson: add storage ZFS build option meson: add chrdev_lock_files build option meson: add debug_logs build option meson: add default_editor build option meson: add driver_modules build check meson: add dtrace build dependency meson: add host_validate build option meson: add init_script build option meson: add login_shell build option meson: add nss build option meson: add numad build option meson: add nwfilter build check meson: add pm_utils build option meson: add sysctl_config build option meson: add tls_priority option meson: add runutf8 env vars and meson-python.sh script meson: introduce src directory meson: src: define secdriver_dep meson: src: build dtrace files meson: src: build libvirt_util.a static lib meson: src: build libvirt_conf.a static lib meson: src: build libvirt_rpc static libs meson: src: build libvirt_access.a static library meson: src: build libvirt_driver_admin.a static lib meson: src: build libvirt_cpu.a static library meson: src: build libvirt_vmx.a static library meson: src: build libvirt_vmware.a static library meson: src: build libvirt_driver_esx.a static library meson: src: build libvirt_driver_hyperv.a static library meson: src: build libvirt_hypervisor.a static library meson: src: build libvirt_openvz.a static library meson: src: build libvirt_test.a static library meson: src: build libvirt_driver_lock.a static library meson: src: build libvirt_driver_log.a static library meson: src: build libvirt_driver_remote.a static library meson: src: build libvirt_security_manager.a static library meson: introduce datatypes sources meson: src: build libvirt_driver.a static library meson: scripts: introduce gen-def-files.sh script meson: scripts: introduce gen-sym-files.sh script meson: src: build libvirt.syms and libvirt.def symbol files meson: src: build libvirt.so library meson: src: install cpu_map data meson: src: build libvirt-qemu.so library meson: src: build libvirt-lxc.so library meson: src: build libvirt-admin.so library meson: src: build libvirt_driver_bhyve_impl.a static library meson: src: build libvirt_driver_libxl_impl.a static library meson: src: build liblockd_impl.a static library meson: src: build libvirt_driver_lxc_impl.a static library meson: src: build libvirt_driver_network_impl.a static library meson: src: build libvirt_driver_nodedev_impl.a static library meson: src: build libvirt_driver_nwfilter_impl.a static library meson: src: build libvirt_driver_qemu_impl.a static library meson: src: build libvirt_storage_driver_impl.a static library meson: src: build libvirt_driver_vbox_impl.a static library meson: src: build libvirt_driver_vz_impl.a static library meson: src: add code to build shared modules meson: src: build libvirt_driver_bhyve.so shared module meson: src: build libvirt_driver_interface.so shared module meson: src: build libvirt_driver_libxl.so shared module meson: src: build libvirt_driver_lxc.so shared module meson: src: build libvirt_driver_network.so shared module meson: src: build libvirt_driver_nodedev.so shared module meson: src: build libvirt_driver_nwfilter.so shared module meson: src: build libvirt_driver_qemu.so shared module meson: src: build libvirt_driver_secret.so shared module meson: src: build libvirt_driver_vbox.so shared module meson: src: build libvirt_driver_vz.so shared module meson: src: build lockd.so shared module meson: src: build sanlock.so shared module meson: src: build libvirt_storage_driver.so shared module meson: src: build libvirt_storage_backedn_fs.so shared module meson: src: build libvirt_storage_file_fs.so shared module meson: src: build libvirt_storage_backend_logical.so shared module meson: src: build libvirt_storage_backend_iscsi.so shared module meson: src: build libvirt_storage_backend_iscsi_direct.so shared module meson: src: build libvirt_storage_backend_scsi.so shared module meson: src: build libvirt_storage_backend_mpath.so shared module meson: src: build libvirt_storage_backend_disk.so shared module meson: src: build libvirt_storage_backend_rbd.so shared module meson: src: build libvirt_storage_backend_sheepdog.so shared module meson: src: build libvirt_storage_*_gluster.so shared modules meson: src: build libvirt_storage_backend_zfs.so shared module meson: src: build libvirt_storage_backend_vstorage.so shared module meson: src: prepare sources for libvirt daemons meson: src: add support for building daemon binaries meson: src: build virtbhyved daemon binary meson: src: build virtinterfaced daemon binary meson: src: build virtxend daemon binary meson: src: build virtlockd daemon binary meson: src: build virtlogd daemon binary meson: src: build virtlxcd daemon binary meson: src: build virtnetworkd daemon binary meson: src: build virtnodedevd daemon binary meson: src: build virtnwfilterd daemon binary meson: src: build virtqemud daemon binary meson: src: build libvirtd daemon binary meson: src: build virtproxyd daemon binary meson: src: build virtsecretd daemon binary meson: src: build virtstoraged daemon binary meson: src: build virtvboxd daemon binary meson: src: build virtvzd daemon binary meson: src: add support for building helpers meson: src: build libvirt_sanlock_helper binary meson: src: build libvirt_lxc binary meson: src: build libvirt_leaseshelper binary meson: src: build virt-qemu-run binary meson: src: build virt-aa-helper binary meson: src: build libvirt_parthelper binary meson: src: build libvirt_iohelper binary meson: src: add support for installing libvirt conf and augeas files meson: src: install libvirt daemon conf and augeas files meson: src: generate libvirt daemon augeas test files meson: src: generate libvirt daemon conf and augeas files meson: src: generate systemd unit files for libvirt daemons meson: src: generate openrc init files meson: src: install libvirt daemon sysconf files meson: src: install empty directories meson: src: generate logrotate files meson: src/access: generate org.libvirt.api.policy meson: src/access: generate libvirt_access*.xml files meson: src/network: install default network xml meson: src/network: install firewalld zone file meson: src/nwfilter: install nwfilter XML files meson: src/remote: install libvirt sysctl config file meson: src/remote: install polkit files meson: src/remote: install libvirtd sasl file meson: src/security: install apparmor profile files meson: src: add check-symfile test meson: src: add check-symsorting meson: src: add check-drivername test meson: src: add check-driverimpls test meson: src: add check-aclrules test meson: src/access: add check-aclperms test meson: src: add check-augeas test meson: src: build libvirt_functions.stp meson: src: add check*protocol tests meson: src: add check-admin-symfile test meson: src: add check-admin-symsorting test meson: src: add check-admin-drivername test meson: src: configure pkg-config files used by run script meson: add tools directory meson: tools: build libvirt_shell.a static library meson: tools: build virt-host-validate binary meson: tools: build virt-login-shell binary meson: tools: build virt-login-shell-helper binary meson: tools: build virsh_win_icon object file meson: tools: build virsh binary meson: tools: build virt-admin binary meson: tools: generate virt-xml-validate script meson: tools: generate virt-pki-validate script meson: tools: generate virt-sanlock-cleanup script meson: tools: generate libvirt-guests.sh script meson: tools: install virt-login-shell.conf meson: tools: install libvirt-guests sysconf file meson: tools: generate libvirt-guests.service systemd unit meson: tools: install bash-completion files meson: tools: introduce nss directory meson: tools: build libnss_libvirt_impl.a static library meson: tools: build libnss_libvirt_guest_impl.a static library meson: tools: build libnss_libvirt.so shared library meson: tools: build libnss_libvirt_guest.so shared_library meson: tools: introduce wireshark directory meson: tools: modify genxdrstub to work with meson meson: tools/wireshark: generate protocol header files meson: tools/wireshark: build libvirt.so wireshark module meson: introduce tests directory meson: tests: build mock shared modules meson: tests: built utils static libraries meson: tests: build commandhelper binary meson: tests: build fake ssh binary meson: tests: add test environment variables meson: tests: build shared libraries meson: tests: add test binaries build support meson: tests: introduce generic tests meson: tests: add linux specific tests meson: tests: add bhyve specific tests meson: tests: add dbus specific tests meson: tests: add ESX specific tests meson: tests: add libvirtd specific tests meson: tests: add libxl specific tests meson: tests: add lxc specific tests meson: tests: add network specific tests meson: tests: add node device specific tests meson: tests: add nss specific tests meson: tests: add nwfilter specific tests meson: tests: add openvz specific tests meson: tests: add qemu specific tests meson: tests: add remote specific tests meson: tests: add selinux specific tests meson: tests: add storage specific tests meson: tests: add storage_fs specific tests meson: tests: add storage_sheepdog specific tests meson: tests: add vbox specific tests meson: tests: add vmware specific tests meson: tests: add vmx specific tests meson: tests: add yajl specific tests meson: tests: add helper binaries build support meson: tests: build helper binaries meson: tests: add test scripts meson: tests: add file access test setup meson: tests: add valgrind test setup meson: examples: build and install example files meson: po: introduce libvirt translation meson: docs: introduce docs directory meson: docs: build api XML files meson: docs: generate docs timestamp meson: docs: generate aclperms.htmlinc meson: docs: introduce docs_rst2html_gen generator meson: docs: introduce meson-html-gen.py helper meson: docs: introduce XSL files meson: docs: build *.html files from *.html.in files meson: docs: build *.html files from *.rst files meson: docs: build hvsupport.html meson: docs: build news.html from news.xml meson: docs: copy asset data to build dir meson: docs/fonts: install font files meson: docs/html: generate libvirt API documentation meson: docs/html: generate admin,lxc and qemu API documentation meson: docs/internals: build html files meson: docs/js: install javascript files meson: docs/kbase: build html files meson: docs/logos: install logo files meson: docs/manpages: install man pages meson: docs/schemas: install RNG schemas meson: docs/html: add html test meson: install pkgconfig files meson: generate and distribute spec files and AUTHORS meson: generate run helper meson: generate developer tooling files meson: add syntax-check meson: update spec file to use meson meson: add rule to build and install only web documentation meson: drop remaining bits from Makefile.am meson: remove unused bits from GNUmakefile meson: drop all unused bits from configure.ac meson: now we can drop all autoconf related gitignore lines meson: adjust our documentation to mention meson instead of autoconf meson: update .gitlab-ci.yml file meson: .gitlab-ci.yml: switch armv7l build to Debian 10 .gitignore | 21 - .gitlab-ci.yml | 71 +- CONTRIBUTING.rst | 9 +- GNUmakefile | 74 - Makefile.am | 180 -- autogen.sh | 53 - build-aux/Makefile.in | 9 + .../Makefile.nonreentrant | 0 build-aux/meson.build | 30 + build-aux/syntax-check.mk | 120 +- ci/aarch64-linux-gnu.meson | 11 + ci/arm-linux-gnueabi.meson | 11 + ci/arm-linux-gnueabihf.meson | 11 + ci/cirrus/build.yml | 12 +- ci/cirrus/libvirt-freebsd-12.vars | 4 +- ci/cirrus/libvirt-macos-1015.vars | 4 +- ci/containers/libvirt-centos-7.Dockerfile | 2 +- ci/containers/libvirt-centos-8.Dockerfile | 4 +- .../libvirt-centos-stream.Dockerfile | 4 +- ...libvirt-debian-10-cross-aarch64.Dockerfile | 5 +- .../libvirt-debian-10-cross-armv6l.Dockerfile | 6 +- .../libvirt-debian-10-cross-armv7l.Dockerfile | 6 +- .../libvirt-debian-10-cross-i686.Dockerfile | 5 +- .../libvirt-debian-10-cross-mips.Dockerfile | 5 +- ...ibvirt-debian-10-cross-mips64el.Dockerfile | 5 +- .../libvirt-debian-10-cross-mipsel.Dockerfile | 5 +- ...libvirt-debian-10-cross-ppc64le.Dockerfile | 5 +- .../libvirt-debian-10-cross-s390x.Dockerfile | 5 +- ci/containers/libvirt-debian-10.Dockerfile | 4 +- ...ibvirt-debian-sid-cross-aarch64.Dockerfile | 5 +- ...libvirt-debian-sid-cross-armv6l.Dockerfile | 6 +- ...libvirt-debian-sid-cross-armv7l.Dockerfile | 6 +- .../libvirt-debian-sid-cross-i686.Dockerfile | 5 +- ...bvirt-debian-sid-cross-mips64el.Dockerfile | 5 +- ...libvirt-debian-sid-cross-mipsel.Dockerfile | 6 +- ...ibvirt-debian-sid-cross-ppc64le.Dockerfile | 5 +- .../libvirt-debian-sid-cross-s390x.Dockerfile | 5 +- ci/containers/libvirt-debian-sid.Dockerfile | 4 +- ci/containers/libvirt-fedora-31.Dockerfile | 4 +- ci/containers/libvirt-fedora-32.Dockerfile | 4 +- ...rt-fedora-rawhide-cross-mingw32.Dockerfile | 4 +- ...rt-fedora-rawhide-cross-mingw64.Dockerfile | 4 +- .../libvirt-fedora-rawhide.Dockerfile | 4 +- ci/containers/libvirt-opensuse-151.Dockerfile | 2 +- ci/containers/libvirt-ubuntu-1804.Dockerfile | 2 +- ci/containers/libvirt-ubuntu-2004.Dockerfile | 4 +- ci/i686-linux-gnu.meson | 11 + ci/mips-linux-gnu.meson | 11 + ci/mips64el-linux-gnuabi64.meson | 11 + ci/mipsel-linux-gnu.meson | 11 + ci/powerpc64le-linux-gnu.meson | 11 + ci/s390x-linux-gnu.meson | 11 + config-post.h => config.h | 25 +- configmake.h.in | 16 + configure.ac | 1063 ------- docs/Makefile.am | 522 ---- docs/advanced-tests.rst | 14 +- docs/best-practices.rst | 2 +- docs/committer-guidelines.rst | 6 +- docs/compiling.html.in | 40 +- docs/fonts/meson.build | 24 + docs/hacking.rst | 4 +- docs/html/meson.build | 101 + docs/internals/meson.build | 35 + docs/js/meson.build | 13 + docs/kbase/meson.build | 44 + docs/logging.html.in | 2 +- docs/logos/meson.build | 31 + docs/manpages/{index.rst => index.rst.in} | 0 .../{libvirtd.rst => libvirtd.rst.in} | 0 docs/manpages/meson.build | 129 + docs/manpages/{virsh.rst => virsh.rst.in} | 0 .../{virt-admin.rst => virt-admin.rst.in} | 0 ...validate.rst => virt-host-validate.rst.in} | 0 ...ogin-shell.rst => virt-login-shell.rst.in} | 0 ...-validate.rst => virt-pki-validate.rst.in} | 0 ...virt-qemu-run.rst => virt-qemu-run.rst.in} | 0 ...leanup.rst => virt-sanlock-cleanup.rst.in} | 0 ...-validate.rst => virt-xml-validate.rst.in} | 0 .../{virtlockd.rst => virtlockd.rst.in} | 0 .../{virtlogd.rst => virtlogd.rst.in} | 0 docs/meson.build | 319 +++ docs/schemas/meson.build | 26 + docs/strategy.html.in | 27 +- docs/windows.html.in | 18 +- examples/Makefile.am | 135 - examples/c/admin/meson.build | 27 + examples/c/domain/meson.build | 24 + examples/c/meson.build | 3 + examples/c/misc/meson.build | 22 + examples/meson.build | 7 + examples/polkit/meson.build | 1 + examples/sh/meson.build | 1 + examples/systemtap/lock-debug.stp | 2 +- examples/systemtap/meson.build | 9 + examples/xml/meson.build | 2 + examples/xml/storage/meson.build | 15 + examples/xml/test/meson.build | 14 + include/libvirt/Makefile.am | 28 - include/libvirt/meson.build | 36 + include/meson.build | 3 + libvirt.spec.in | 203 +- m4/virt-acl.m4 | 37 - m4/virt-apparmor.m4 | 41 - m4/virt-arg.m4 | 154 -- m4/virt-attr.m4 | 13 - m4/virt-audit.m4 | 31 - m4/virt-bash-completion.m4 | 70 - m4/virt-blkid.m4 | 30 - m4/virt-capng.m4 | 30 - m4/virt-chrdev-lock-files.m4 | 52 - m4/virt-compile-pie.m4 | 35 - m4/virt-compile-warnings.m4 | 255 -- m4/virt-curl.m4 | 38 - m4/virt-dbus.m4 | 41 - m4/virt-debug.m4 | 33 - m4/virt-default-editor.m4 | 32 - m4/virt-devmapper.m4 | 32 - m4/virt-dlopen.m4 | 45 - m4/virt-driver-bhyve.m4 | 56 - m4/virt-driver-esx.m4 | 57 - m4/virt-driver-hyperv.m4 | 47 - m4/virt-driver-interface.m4 | 49 - m4/virt-driver-libvirtd.m4 | 33 - m4/virt-driver-libxl.m4 | 74 - m4/virt-driver-lxc.m4 | 74 - m4/virt-driver-modules.m4 | 53 - m4/virt-driver-network.m4 | 51 - m4/virt-driver-openvz.m4 | 42 - m4/virt-driver-qemu.m4 | 132 - m4/virt-driver-remote.m4 | 48 - m4/virt-driver-test.m4 | 33 - m4/virt-driver-vbox.m4 | 44 - m4/virt-driver-vmware.m4 | 33 - m4/virt-driver-vz.m4 | 47 - m4/virt-dtrace.m4 | 45 - m4/virt-external-programs.m4 | 106 - m4/virt-firewalld-zone.m4 | 45 - m4/virt-firewalld.m4 | 43 - m4/virt-fuse.m4 | 30 - m4/virt-glib.m4 | 36 - m4/virt-gluster.m4 | 32 - m4/virt-gnutls.m4 | 30 - m4/virt-hal.m4 | 30 - m4/virt-host-validate.m4 | 43 - m4/virt-init-script.m4 | 61 - m4/virt-lib.m4 | 386 --- m4/virt-libiscsi.m4 | 30 - m4/virt-libnl.m4 | 47 - m4/virt-libpcap.m4 | 62 - m4/virt-libssh.m4 | 51 - m4/virt-libxml.m4 | 36 - m4/virt-linker-no-indirect.m4 | 32 - m4/virt-linker-no-undefined.m4 | 32 - m4/virt-linker-relro.m4 | 35 - m4/virt-loader-nvram.m4 | 49 - m4/virt-login-shell.m4 | 43 - m4/virt-macvtap.m4 | 56 - m4/virt-manywarnings.m4 | 339 --- m4/virt-netcf.m4 | 30 - m4/virt-nls.m4 | 72 - m4/virt-nss.m4 | 86 - m4/virt-numactl.m4 | 34 - m4/virt-numad.m4 | 58 - m4/virt-nwfilter.m4 | 32 - m4/virt-openwsman.m4 | 30 - m4/virt-parted.m4 | 38 - m4/virt-pciaccess.m4 | 30 - m4/virt-pm-utils.m4 | 45 - m4/virt-polkit.m4 | 62 - m4/virt-pthread.m4 | 58 - m4/virt-readline.m4 | 86 - m4/virt-result.m4 | 42 - m4/virt-sanlock.m4 | 47 - m4/virt-sasl.m4 | 30 - m4/virt-secdriver-apparmor.m4 | 50 - m4/virt-secdriver-selinux.m4 | 43 - m4/virt-selinux.m4 | 47 - m4/virt-ssh2.m4 | 30 - m4/virt-storage-dir.m4 | 33 - m4/virt-storage-disk.m4 | 58 - m4/virt-storage-fs.m4 | 89 - m4/virt-storage-gluster.m4 | 43 - m4/virt-storage-iscsi-direct.m4 | 44 - m4/virt-storage-iscsi.m4 | 50 - m4/virt-storage-lvm.m4 | 90 - m4/virt-storage-mpath.m4 | 53 - m4/virt-storage-rbd.m4 | 62 - m4/virt-storage-scsi.m4 | 36 - m4/virt-storage-sheepdog.m4 | 56 - m4/virt-storage-vstorage.m4 | 73 - m4/virt-storage-zfs.m4 | 56 - m4/virt-sysctl.m4 | 43 - m4/virt-tls-priority.m4 | 33 - m4/virt-udev.m4 | 36 - m4/virt-virtualport.m4 | 65 - m4/virt-warnings.m4 | 115 - m4/virt-win-common.m4 | 42 - m4/virt-win-mingw.m4 | 28 - m4/virt-win-symbols.m4 | 40 - m4/virt-win-windres.m4 | 36 - m4/virt-wireshark.m4 | 71 - m4/virt-xdr.m4 | 40 - m4/virt-yajl.m4 | 42 - meson.build | 2461 +++++++++++++++++ meson_options.txt | 104 + po/Makefile.am | 94 - po/meson.build | 35 + run.in | 4 +- scripts/apibuild.py | 26 +- scripts/check-augeas.sh | 12 + scripts/check-file-access.py | 24 +- scripts/check-remote-protocol.py | 75 +- scripts/gen-def-files.sh | 5 + scripts/gen-sym-files.sh | 15 + scripts/install-dirs.sh | 5 + scripts/install-symlink.sh | 7 + scripts/meson-change-perms.sh | 6 + scripts/meson-dist.sh | 6 + scripts/meson-gen-authors.sh | 4 + scripts/meson-html-gen.py | 49 + scripts/meson-install-web.py | 10 + scripts/meson-python.sh | 3 + scripts/meson-timestamp.sh | 8 + scripts/meson.build | 40 + src/Makefile.am | 693 ----- src/access/Makefile.inc.am | 153 - src/access/meson.build | 121 + src/admin/Makefile.inc.am | 146 - src/admin/meson.build | 114 + src/bhyve/Makefile.inc.am | 106 - src/bhyve/meson.build | 62 + src/conf/Makefile.inc.am | 191 -- src/conf/meson.build | 110 + src/cpu/Makefile.inc.am | 27 - src/cpu/meson.build | 21 + src/cpu_map/Makefile.inc.am | 80 - src/cpu_map/meson.build | 75 + src/driver.c | 2 +- src/esx/Makefile.inc.am | 91 - src/esx/meson.build | 67 + src/hyperv/Makefile.inc.am | 59 - src/hyperv/meson.build | 43 + src/hypervisor/Makefile.inc.am | 20 - src/hypervisor/meson.build | 23 + src/interface/Makefile.inc.am | 125 - src/interface/meson.build | 64 + src/libvirt-lxc.pc.in | 2 +- src/libvirt-qemu.pc.in | 2 +- src/libvirt.pc.in | 2 +- src/libxl/Makefile.inc.am | 163 -- src/libxl/meson.build | 89 + src/locking/Makefile.inc.am | 298 -- src/locking/lock_manager.c | 2 +- src/locking/meson.build | 249 ++ src/logging/Makefile.inc.am | 147 - src/logging/meson.build | 100 + src/lxc/Makefile.inc.am | 293 -- src/lxc/meson.build | 190 ++ src/meson.build | 969 +++++++ src/network/Makefile.inc.am | 197 -- src/network/{default.xml => default.xml.in} | 0 src/network/meson.build | 129 + src/node_device/Makefile.inc.am | 151 - src/node_device/meson.build | 77 + src/nwfilter/Makefile.inc.am | 134 - src/nwfilter/meson.build | 73 + src/nwfilter/xml/meson.build | 22 + src/openvz/Makefile.inc.am | 30 - src/openvz/meson.build | 28 + src/qemu/Makefile.inc.am | 268 -- src/{ => qemu}/libvirt_qemu_probes.d | 0 src/qemu/meson.build | 173 ++ src/remote/Makefile.inc.am | 490 ---- src/remote/meson.build | 288 ++ ...n.target.in => virt-guest-shutdown.target} | 0 src/rpc/Makefile.inc.am | 144 - src/rpc/meson.build | 136 + src/secret/Makefile.inc.am | 110 - src/secret/meson.build | 53 + src/security/Makefile.inc.am | 142 - src/security/apparmor/meson.build | 38 + .../usr.lib.libvirt.virt-aa-helper.local | 1 + src/security/meson.build | 57 + src/storage/Makefile.inc.am | 476 ---- src/storage/meson.build | 306 ++ src/storage/storage_backend.c | 2 +- src/test/Makefile.inc.am | 28 - src/test/meson.build | 26 + src/util/Makefile.inc.am | 318 --- src/util/meson.build | 212 ++ src/util/virfile.c | 34 +- src/util/virstoragefilebackend.c | 2 +- src/vbox/Makefile.inc.am | 138 - src/vbox/meson.build | 78 + src/vmware/Makefile.inc.am | 29 - src/vmware/meson.build | 26 + src/vmx/Makefile.inc.am | 24 - src/vmx/meson.build | 28 + src/vz/Makefile.inc.am | 117 - src/vz/meson.build | 68 + tests/Makefile.am | 1571 ----------- tests/meson.build | 686 +++++ tests/securityselinuxlabeltest.c | 2 +- tests/securityselinuxtest.c | 2 +- tests/shunloadtest.c | 4 +- tests/testutils.c | 2 +- tests/testutils.h | 2 +- tests/viridentitytest.c | 2 +- tests/virsh-optparse | 58 +- tests/virsh-schedinfo | 12 +- tests/virt-aa-helper-test | 2 +- tests/virtestmock.c | 2 +- tools/Makefile.am | 529 ---- tools/bash-completion/meson.build | 13 + tools/meson.build | 292 ++ tools/nss/meson.build | 92 + tools/wireshark/meson.build | 3 + tools/wireshark/src/libvirt/meson.build | 20 + tools/wireshark/src/meson.build | 17 + tools/wireshark/util/genxdrstub.pl | 9 +- 321 files changed, 9526 insertions(+), 15979 deletions(-) delete mode 100644 GNUmakefile delete mode 100644 Makefile.am delete mode 100755 autogen.sh create mode 100644 build-aux/Makefile.in rename Makefile.nonreentrant => build-aux/Makefile.nonreentrant (100%) create mode 100644 build-aux/meson.build create mode 100644 ci/aarch64-linux-gnu.meson create mode 100644 ci/arm-linux-gnueabi.meson create mode 100644 ci/arm-linux-gnueabihf.meson create mode 100644 ci/i686-linux-gnu.meson create mode 100644 ci/mips-linux-gnu.meson create mode 100644 ci/mips64el-linux-gnuabi64.meson create mode 100644 ci/mipsel-linux-gnu.meson create mode 100644 ci/powerpc64le-linux-gnu.meson create mode 100644 ci/s390x-linux-gnu.meson rename config-post.h => config.h (65%) create mode 100644 configmake.h.in delete mode 100644 configure.ac delete mode 100644 docs/Makefile.am create mode 100644 docs/fonts/meson.build create mode 100644 docs/html/meson.build create mode 100644 docs/internals/meson.build create mode 100644 docs/js/meson.build create mode 100644 docs/kbase/meson.build create mode 100644 docs/logos/meson.build rename docs/manpages/{index.rst => index.rst.in} (100%) rename docs/manpages/{libvirtd.rst => libvirtd.rst.in} (100%) create mode 100644 docs/manpages/meson.build rename docs/manpages/{virsh.rst => virsh.rst.in} (100%) rename docs/manpages/{virt-admin.rst => virt-admin.rst.in} (100%) rename docs/manpages/{virt-host-validate.rst => virt-host-validate.rst.in} (100%) rename docs/manpages/{virt-login-shell.rst => virt-login-shell.rst.in} (100%) rename docs/manpages/{virt-pki-validate.rst => virt-pki-validate.rst.in} (100%) rename docs/manpages/{virt-qemu-run.rst => virt-qemu-run.rst.in} (100%) rename docs/manpages/{virt-sanlock-cleanup.rst => virt-sanlock-cleanup.rst.in} (100%) rename docs/manpages/{virt-xml-validate.rst => virt-xml-validate.rst.in} (100%) rename docs/manpages/{virtlockd.rst => virtlockd.rst.in} (100%) rename docs/manpages/{virtlogd.rst => virtlogd.rst.in} (100%) create mode 100644 docs/meson.build create mode 100644 docs/schemas/meson.build delete mode 100644 examples/Makefile.am create mode 100644 examples/c/admin/meson.build create mode 100644 examples/c/domain/meson.build create mode 100644 examples/c/meson.build create mode 100644 examples/c/misc/meson.build create mode 100644 examples/meson.build create mode 100644 examples/polkit/meson.build create mode 100644 examples/sh/meson.build create mode 100644 examples/systemtap/meson.build create mode 100644 examples/xml/meson.build create mode 100644 examples/xml/storage/meson.build create mode 100644 examples/xml/test/meson.build delete mode 100644 include/libvirt/Makefile.am create mode 100644 include/libvirt/meson.build create mode 100644 include/meson.build delete mode 100644 m4/virt-acl.m4 delete mode 100644 m4/virt-apparmor.m4 delete mode 100644 m4/virt-arg.m4 delete mode 100644 m4/virt-attr.m4 delete mode 100644 m4/virt-audit.m4 delete mode 100644 m4/virt-bash-completion.m4 delete mode 100644 m4/virt-blkid.m4 delete mode 100644 m4/virt-capng.m4 delete mode 100644 m4/virt-chrdev-lock-files.m4 delete mode 100644 m4/virt-compile-pie.m4 delete mode 100644 m4/virt-compile-warnings.m4 delete mode 100644 m4/virt-curl.m4 delete mode 100644 m4/virt-dbus.m4 delete mode 100644 m4/virt-debug.m4 delete mode 100644 m4/virt-default-editor.m4 delete mode 100644 m4/virt-devmapper.m4 delete mode 100644 m4/virt-dlopen.m4 delete mode 100644 m4/virt-driver-bhyve.m4 delete mode 100644 m4/virt-driver-esx.m4 delete mode 100644 m4/virt-driver-hyperv.m4 delete mode 100644 m4/virt-driver-interface.m4 delete mode 100644 m4/virt-driver-libvirtd.m4 delete mode 100644 m4/virt-driver-libxl.m4 delete mode 100644 m4/virt-driver-lxc.m4 delete mode 100644 m4/virt-driver-modules.m4 delete mode 100644 m4/virt-driver-network.m4 delete mode 100644 m4/virt-driver-openvz.m4 delete mode 100644 m4/virt-driver-qemu.m4 delete mode 100644 m4/virt-driver-remote.m4 delete mode 100644 m4/virt-driver-test.m4 delete mode 100644 m4/virt-driver-vbox.m4 delete mode 100644 m4/virt-driver-vmware.m4 delete mode 100644 m4/virt-driver-vz.m4 delete mode 100644 m4/virt-dtrace.m4 delete mode 100644 m4/virt-external-programs.m4 delete mode 100644 m4/virt-firewalld-zone.m4 delete mode 100644 m4/virt-firewalld.m4 delete mode 100644 m4/virt-fuse.m4 delete mode 100644 m4/virt-glib.m4 delete mode 100644 m4/virt-gluster.m4 delete mode 100644 m4/virt-gnutls.m4 delete mode 100644 m4/virt-hal.m4 delete mode 100644 m4/virt-host-validate.m4 delete mode 100644 m4/virt-init-script.m4 delete mode 100644 m4/virt-lib.m4 delete mode 100644 m4/virt-libiscsi.m4 delete mode 100644 m4/virt-libnl.m4 delete mode 100644 m4/virt-libpcap.m4 delete mode 100644 m4/virt-libssh.m4 delete mode 100644 m4/virt-libxml.m4 delete mode 100644 m4/virt-linker-no-indirect.m4 delete mode 100644 m4/virt-linker-no-undefined.m4 delete mode 100644 m4/virt-linker-relro.m4 delete mode 100644 m4/virt-loader-nvram.m4 delete mode 100644 m4/virt-login-shell.m4 delete mode 100644 m4/virt-macvtap.m4 delete mode 100644 m4/virt-manywarnings.m4 delete mode 100644 m4/virt-netcf.m4 delete mode 100644 m4/virt-nls.m4 delete mode 100644 m4/virt-nss.m4 delete mode 100644 m4/virt-numactl.m4 delete mode 100644 m4/virt-numad.m4 delete mode 100644 m4/virt-nwfilter.m4 delete mode 100644 m4/virt-openwsman.m4 delete mode 100644 m4/virt-parted.m4 delete mode 100644 m4/virt-pciaccess.m4 delete mode 100644 m4/virt-pm-utils.m4 delete mode 100644 m4/virt-polkit.m4 delete mode 100644 m4/virt-pthread.m4 delete mode 100644 m4/virt-readline.m4 delete mode 100644 m4/virt-result.m4 delete mode 100644 m4/virt-sanlock.m4 delete mode 100644 m4/virt-sasl.m4 delete mode 100644 m4/virt-secdriver-apparmor.m4 delete mode 100644 m4/virt-secdriver-selinux.m4 delete mode 100644 m4/virt-selinux.m4 delete mode 100644 m4/virt-ssh2.m4 delete mode 100644 m4/virt-storage-dir.m4 delete mode 100644 m4/virt-storage-disk.m4 delete mode 100644 m4/virt-storage-fs.m4 delete mode 100644 m4/virt-storage-gluster.m4 delete mode 100644 m4/virt-storage-iscsi-direct.m4 delete mode 100644 m4/virt-storage-iscsi.m4 delete mode 100644 m4/virt-storage-lvm.m4 delete mode 100644 m4/virt-storage-mpath.m4 delete mode 100644 m4/virt-storage-rbd.m4 delete mode 100644 m4/virt-storage-scsi.m4 delete mode 100644 m4/virt-storage-sheepdog.m4 delete mode 100644 m4/virt-storage-vstorage.m4 delete mode 100644 m4/virt-storage-zfs.m4 delete mode 100644 m4/virt-sysctl.m4 delete mode 100644 m4/virt-tls-priority.m4 delete mode 100644 m4/virt-udev.m4 delete mode 100644 m4/virt-virtualport.m4 delete mode 100644 m4/virt-warnings.m4 delete mode 100644 m4/virt-win-common.m4 delete mode 100644 m4/virt-win-mingw.m4 delete mode 100644 m4/virt-win-symbols.m4 delete mode 100644 m4/virt-win-windres.m4 delete mode 100644 m4/virt-wireshark.m4 delete mode 100644 m4/virt-xdr.m4 delete mode 100644 m4/virt-yajl.m4 create mode 100644 meson.build create mode 100644 meson_options.txt delete mode 100644 po/Makefile.am create mode 100644 po/meson.build create mode 100644 scripts/check-augeas.sh create mode 100755 scripts/gen-def-files.sh create mode 100755 scripts/gen-sym-files.sh create mode 100644 scripts/install-dirs.sh create mode 100644 scripts/install-symlink.sh create mode 100644 scripts/meson-change-perms.sh create mode 100755 scripts/meson-dist.sh create mode 100755 scripts/meson-gen-authors.sh create mode 100755 scripts/meson-html-gen.py create mode 100755 scripts/meson-install-web.py create mode 100755 scripts/meson-python.sh create mode 100755 scripts/meson-timestamp.sh create mode 100644 scripts/meson.build delete mode 100644 src/Makefile.am delete mode 100644 src/access/Makefile.inc.am create mode 100644 src/access/meson.build delete mode 100644 src/admin/Makefile.inc.am create mode 100644 src/admin/meson.build delete mode 100644 src/bhyve/Makefile.inc.am create mode 100644 src/bhyve/meson.build delete mode 100644 src/conf/Makefile.inc.am create mode 100644 src/conf/meson.build delete mode 100644 src/cpu/Makefile.inc.am create mode 100644 src/cpu/meson.build delete mode 100644 src/cpu_map/Makefile.inc.am create mode 100644 src/cpu_map/meson.build delete mode 100644 src/esx/Makefile.inc.am create mode 100644 src/esx/meson.build delete mode 100644 src/hyperv/Makefile.inc.am create mode 100644 src/hyperv/meson.build delete mode 100644 src/hypervisor/Makefile.inc.am create mode 100644 src/hypervisor/meson.build delete mode 100644 src/interface/Makefile.inc.am create mode 100644 src/interface/meson.build delete mode 100644 src/libxl/Makefile.inc.am create mode 100644 src/libxl/meson.build delete mode 100644 src/locking/Makefile.inc.am create mode 100644 src/locking/meson.build delete mode 100644 src/logging/Makefile.inc.am create mode 100644 src/logging/meson.build delete mode 100644 src/lxc/Makefile.inc.am create mode 100644 src/lxc/meson.build create mode 100644 src/meson.build delete mode 100644 src/network/Makefile.inc.am rename src/network/{default.xml => default.xml.in} (100%) create mode 100644 src/network/meson.build delete mode 100644 src/node_device/Makefile.inc.am create mode 100644 src/node_device/meson.build delete mode 100644 src/nwfilter/Makefile.inc.am create mode 100644 src/nwfilter/meson.build create mode 100644 src/nwfilter/xml/meson.build delete mode 100644 src/openvz/Makefile.inc.am create mode 100644 src/openvz/meson.build delete mode 100644 src/qemu/Makefile.inc.am rename src/{ => qemu}/libvirt_qemu_probes.d (100%) create mode 100644 src/qemu/meson.build delete mode 100644 src/remote/Makefile.inc.am create mode 100644 src/remote/meson.build rename src/remote/{virt-guest-shutdown.target.in => virt-guest-shutdown.target} (100%) delete mode 100644 src/rpc/Makefile.inc.am create mode 100644 src/rpc/meson.build delete mode 100644 src/secret/Makefile.inc.am create mode 100644 src/secret/meson.build delete mode 100644 src/security/Makefile.inc.am create mode 100644 src/security/apparmor/meson.build create mode 100644 src/security/apparmor/usr.lib.libvirt.virt-aa-helper.local create mode 100644 src/security/meson.build delete mode 100644 src/storage/Makefile.inc.am create mode 100644 src/storage/meson.build delete mode 100644 src/test/Makefile.inc.am create mode 100644 src/test/meson.build delete mode 100644 src/util/Makefile.inc.am create mode 100644 src/util/meson.build delete mode 100644 src/vbox/Makefile.inc.am create mode 100644 src/vbox/meson.build delete mode 100644 src/vmware/Makefile.inc.am create mode 100644 src/vmware/meson.build delete mode 100644 src/vmx/Makefile.inc.am create mode 100644 src/vmx/meson.build delete mode 100644 src/vz/Makefile.inc.am create mode 100644 src/vz/meson.build delete mode 100644 tests/Makefile.am create mode 100644 tests/meson.build delete mode 100644 tools/Makefile.am create mode 100644 tools/bash-completion/meson.build create mode 100644 tools/meson.build create mode 100644 tools/nss/meson.build create mode 100644 tools/wireshark/meson.build create mode 100644 tools/wireshark/src/libvirt/meson.build create mode 100644 tools/wireshark/src/meson.build -- 2.26.2