[PATCH] qemu: remove use of gettid() syscall
by Daniel P. Berrangé
This is not expose in most historical versions of glibc, nor
non-glibc impls. We must use our wrapper API instead.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
Pushed as build fix
src/qemu/qemu_shim.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_shim.c b/src/qemu/qemu_shim.c
index 4c06f15779..ef0ba086b5 100644
--- a/src/qemu/qemu_shim.c
+++ b/src/qemu/qemu_shim.c
@@ -176,8 +176,8 @@ int main(int argc, char **argv)
}
if (verbose)
- g_printerr("%s: %lld: initializing libvirt %d\n",
- argv[0], deltams(), gettid());
+ g_printerr("%s: %lld: initializing libvirt %llu\n",
+ argv[0], deltams(), virThreadSelfID());
if (virInitialize() < 0) {
g_printerr("%s: cannot initialize libvirt\n", argv[0]);
--
2.25.4
4 years, 4 months
[PATCH v3 0/5] qemu: Support rbd namespace attribute
by Han Han
Diff from v2:
- rebase to master
- update some qemu capabilities tests
Test results of this patch series on qemu-5.0.0 and librbd1-14.2.8:
disk xml:
<disk type='network' device='disk'>
<driver name='qemu' type='raw'/>
<auth username='admin'>
<secret type='ceph' usage='ceph_example'/>
</auth>
<source protocol='rbd' name='rbd/1' namespace='hhan'>
<host name='CEPH_MON'/>
</source>
<target dev='vde' bus='virtio'/>
</disk>
Live attach and detach the disk:
➜ ~ virsh attach-device new /tmp/ceph-ns.xml
Device attached successfully
➜ ~ virsh dumpxml new|xmllint --xpath //disk -
<disk type="file" device="disk">
<driver name="qemu" type="qcow2"/>
<source file="/var/lib/libvirt/images/new.qcow2" index="2"/>
<backingStore/>
<target dev="vda" bus="virtio"/>
<serial>WD-WMAP9A966149</serial>
<alias name="virtio-disk0"/>
<address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
</disk><disk type="network" device="disk">
<driver name="qemu" type="raw"/>
<auth username="admin">
<secret type="ceph" usage="ceph_example"/>
</auth>
<source protocol="rbd" name="rbd/1" namespace="hhan" index="3">
<host name="CEPH_MON"/>
</source>
<target dev="vde" bus="virtio"/>
<alias name="virtio-disk4"/>
<address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
</disk>
➜ ~ virsh detach-device new /tmp/ceph-ns.xml
Device detached successfully
➜ ~ virsh dumpxml new|xmllint --xpath //disk -
<disk type="file" device="disk">
<driver name="qemu" type="qcow2"/>
<source file="/var/lib/libvirt/images/new.qcow2" index="2"/>
<backingStore/>
<target dev="vda" bus="virtio"/>
<serial>WD-WMAP9A966149</serial>
<alias name="virtio-disk0"/>
<address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
</disk>
It also works when start VM with this disk.
And tests pass when it is tested with -blockdev disabled:
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
[...]
<qemu:capabilities>
<qemu:del capability='blockdev'/>
<qemu:add capability='drive'/>
</qemu:capabilities>
</domain>
v2: https://www.redhat.com/archives/libvir-list/2020-April/msg00972.html
Han Han (5):
qemu_capabilities: Add QEMU_CAPS_RBD_NAMESPACE
conf: Support to parse rbd namespace attribute
qemu: Implement rbd namespace attribute
doc: rng schemas and html doc for rbd namespace attribute
news: qemu: Support rbd namespace
NEWS.rst | 6 +++
docs/formatdomain.rst | 5 ++-
docs/schemas/domaincommon.rng | 3 ++
src/conf/domain_conf.c | 4 ++
src/qemu/qemu_block.c | 1 +
src/qemu/qemu_capabilities.c | 4 ++
src/qemu/qemu_capabilities.h | 3 ++
src/qemu/qemu_command.c | 7 +++-
src/util/virstoragefile.h | 1 +
.../caps_5.0.0.aarch64.xml | 1 +
.../qemucapabilitiesdata/caps_5.0.0.ppc64.xml | 1 +
.../caps_5.0.0.riscv64.xml | 1 +
.../caps_5.0.0.x86_64.xml | 1 +
.../caps_5.1.0.x86_64.xml | 1 +
...k-network-rbd-namespace.x86_64-latest.args | 41 +++++++++++++++++++
.../disk-network-rbd-namespace.xml | 33 +++++++++++++++
tests/qemuxml2argvtest.c | 1 +
...sk-network-rbd-namespace.x86_64-latest.xml | 41 +++++++++++++++++++
tests/qemuxml2xmltest.c | 1 +
19 files changed, 154 insertions(+), 2 deletions(-)
create mode 100644 tests/qemuxml2argvdata/disk-network-rbd-namespace.x86_64-latest.args
create mode 100644 tests/qemuxml2argvdata/disk-network-rbd-namespace.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-network-rbd-namespace.x86_64-latest.xml
--
2.27.0
4 years, 4 months
[PATCH 0/3] qemu: implementation of transient option for qcow2 file
by Masayoshi Mizuma
Hello,
This patchset tries to implement transient option for qcow2 file.
It gets user available to set <transient/> to the domain xml file like as:
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/libvirt/images/guest.qcow2'/>
<target dev='vda' bus='virtio'/>
<transient/>
</disk>
Any changes which the Guest does to the disk is dropped when the Guest
is shutdowned.
Masayoshi Mizuma (3):
qemu: implementation of transient option for qcow2 file
testutilsqemu: Assign qemu-img path to driver->qemuImgBinary
qemublocktest: add test of transient option for qcow2 file
src/qemu/qemu_block.c | 71 +++++++++++++++++++
src/qemu/qemu_block.h | 7 ++
src/qemu/qemu_domain.c | 4 ++
src/qemu/qemu_process.c | 3 +
src/qemu/qemu_validate.c | 2 +-
tests/qemublocktest.c | 10 +++
.../xml2json/qcow2-transient-srconly.json | 9 +++
.../xml2json/qcow2-transient.json | 13 ++++
.../xml2json/qcow2-transient.xml | 13 ++++
tests/testutilsqemu.c | 6 +-
10 files changed, 136 insertions(+), 2 deletions(-)
create mode 100644 tests/qemublocktestdata/xml2json/qcow2-transient-srconly.json
create mode 100644 tests/qemublocktestdata/xml2json/qcow2-transient.json
create mode 100644 tests/qemublocktestdata/xml2json/qcow2-transient.xml
--
2.27.0
4 years, 4 months
Is the default discard mode to ignore?
by Chris Murphy
virt-manager 'Discard Mode" defaults to "Hypervisor default" but I'm
not sure if there's ever a case where this could translate into
on/unmap?
What problems could result if the guest OS file system mount option
were to default to 'discard'? Is it reasonable to expect discards will
be inhibited by default because of Discard Mode's default setting?
What I'm concerned about is the use case of either raw or qcow2
backing files that have been fully preallocated. If discards pass
through to the backing file, they become sparse files, which may be
suboptimal due to ensuing fragmentation. Of course it's a trade off,
you also gain efficient storage of the backing file - it consumes only
what the guest uses. But I think the more compatible behavior is to
not do discards out of the box. Someone who wants sparse backing
files, I expect, will (a) create sparse backing files and (b) set
discard mode to unmap.
Background and genesis of all of this:
RFE: kickstart option to control discard configuration
https://bugzilla.redhat.com/show_bug.cgi?id=1860720
Thanks,
--
Chris Murphy
4 years, 4 months
[libvirt PATCH 000/351] port libvirt to Meson build system
by Pavel Hrdina
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
4 years, 4 months
[libvirt PATCH] meson: fix readline detection if there is no pkg-config file
by Pavel Hrdina
Commit <74416b1d4849ef77ef31de5344dd75f03094434b> added check for
rl_completion_quote_character to make sure we have correct readline
library. Commit <a9443bc9a9ef451b46306e66ed3b706756fc1414> added
inaccurate comment that it's a function.
We need to check for generic symbol instead of checking for function.
In addition the readline/readline.h file requires stdio.h to by included
beforehand which was done in autotools but I dropped it in meson.
And lastly the final condition to print error or disable readline was
broken as well by replacing the readline_dep every time if readline was
not explicitly enabled.
Reported-by: Erik Skultety <eskultet(a)redhat.com>
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
meson.build | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/meson.build b/meson.build
index ad269640ba..19b4795527 100644
--- a/meson.build
+++ b/meson.build
@@ -1268,17 +1268,19 @@ if not readline_dep.found()
readline_dep = cc.find_library('readline', required: get_option('readline'))
if readline_dep.found()
- # This function is present in all reasonable (5.0+) readline versions;
+ # This variable is present in all reasonable (5.0+) readline versions;
# however, the macOS base system contains a library called libedit which
# takes over the readline name despite lacking many of its features. We
# want to make sure we only enable readline support when linking against
# the actual readline library, and the availability of this specific
- # functions is as good a witness for that fact as any.
- correct_rl = cc.has_function('rl_completion_quote_character', prefix: '#include <readline/readline.h>')
- if not correct_rl and get_option('readline').enabled()
- error('readline is missing rl_completion_quote_character')
- else
- readline_dep = dependency('', required: false)
+ # variable is as good a witness for that fact as any.
+ correct_rl = cc.has_header_symbol('readline/readline.h', 'rl_completion_quote_character', prefix: '#include <stdio.h>')
+ if not correct_rl
+ if get_option('readline').enabled()
+ error('readline is missing rl_completion_quote_character')
+ else
+ readline_dep = dependency('', required: false)
+ endif
endif
endif
endif
--
2.26.2
4 years, 4 months
[libvirt PATCH] docs/manpages/meson: fix sanlock detection
by Pavel Hrdina
In meson.build we define sanlock_dep only if it is available but in
addition we add 'WITH_SANLOCK' into conf. Use the presence of
'WITH_SANLOCK' in conf to figure out if we need to install
virt-sanlock-cleanup man page.
Reported-by: Michal Privoznik <mprivozn(a)redhat.com>
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
docs/manpages/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/manpages/meson.build b/docs/manpages/meson.build
index 97133adf3a..8295e9e5ea 100644
--- a/docs/manpages/meson.build
+++ b/docs/manpages/meson.build
@@ -17,7 +17,7 @@ docs_man_files = [
{ 'name': 'virt-xml-validate', 'section': '1', 'install': true },
{ 'name': 'libvirtd', 'section': '8', 'install': conf.has('WITH_LIBVIRTD') },
- { 'name': 'virt-sanlock-cleanup', 'section': '8', 'install': sanlock_dep.found() },
+ { 'name': 'virt-sanlock-cleanup', 'section': '8', 'install': conf.has('WITH_SANLOCK') },
{ 'name': 'virtlockd', 'section': '8', 'install': conf.has('WITH_LIBVIRTD') },
{ 'name': 'virtlogd', 'section': '8', 'install': conf.has('WITH_LIBVIRTD') },
]
--
2.26.2
4 years, 4 months
[PATCH] news: Mention the encrypted TLS keys of VxHS are supported in v6.6.0
by Han Han
Signed-off-by: Han Han <hhan(a)redhat.com>
---
NEWS.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/NEWS.rst b/NEWS.rst
index 63ca689b43..1887177b0e 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -47,7 +47,7 @@ v6.6.0 (2020-08-02)
Specifying a virtualHW version greater or equal to 7 (ESXi 4.0) will allow
you to use up to 10 NICs instead of 4 as it was previously.
- * qemu: Support encrypted TLS keys for NBD disks
+ * qemu: Support encrypted TLS keys for NBD and VxHS disks
The secret key used for disks can now be encrypted similarly to TLS keys
used for migration, chardev and others.
--
2.27.0
4 years, 4 months
[libvirt PATCH] tests: fix license blurb in virsh-undefine
by Ján Tomko
Assume commit 0466ff28f2 used case-insensitive replace s/OUT/EXP/
by mistake and this file is still licensed under GPLv2.0+
Undo the change.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
FIxes: 0466ff28f23f4c430906efd5859f87672cf08782
Cc: Cole Robinson <crobinso(a)redhat.com>
Cc: Eric Blake <eblake(a)redhat.com>
Cc: Pino Toscano <ptoscano(a)redhat.com>
---
tests/virsh-undefine | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/virsh-undefine b/tests/virsh-undefine
index 4a9f68dd39..998d4d3268 100755
--- a/tests/virsh-undefine
+++ b/tests/virsh-undefine
@@ -9,7 +9,7 @@
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
-# but WITHEXP ANY WARRANTY; without even the implied warranty of
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
--
2.26.2
4 years, 4 months
[libvirt PATCH v2] scripts: Fix meson-install-symlink.py overwriting existing links
by Erik Skultety
By default, symlink re-creation fails if the link already exists, more
specifically in case of meson-install-symlink.py:
Traceback (most recent call last):
File "/<path_to_libvirt_repo>/scripts/meson-install-symlink.py",
line 15, in <module>
os.symlink(target, link)
FileExistsError: File exists: '../default.xml' -> 'default.xml'
Unfortunately, Python can't mimic "ln -sf", so we have to fix this
differently - remove the existing link first and then try re-creating
it.
Signed-off-by: Erik Skultety <eskultet(a)redhat.com>
---
This version suffers from the same problem as v1, but I didn't bother putting
that into the commit message anymore as the consensus seems to be that we don't
care.
scripts/meson-install-symlink.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/scripts/meson-install-symlink.py b/scripts/meson-install-symlink.py
index e38507072d..d8817fb9be 100644
--- a/scripts/meson-install-symlink.py
+++ b/scripts/meson-install-symlink.py
@@ -12,4 +12,8 @@ workdir = os.path.join(destdir, dirname.strip(os.sep))
os.makedirs(workdir, exist_ok=True)
os.chdir(workdir)
+
+if os.path.exists(link):
+ os.remove(link)
+
os.symlink(target, link)
--
2.26.2
4 years, 4 months