pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libvirt-4.9.0 for virt-manager 2.0.0, only linux is tested@ the moment.



Module Name:	pkgsrc-wip
Committed By:	andyb <andyb%m42.one@localhost>
Pushed By:	andyb
Date:		Sun Dec 2 22:30:58 2018 +0100
Changeset:	ebf9afed26a979b86b2e8c9a00ec5f0c0686fe9a

Added Files:
	libvirt490/DESCR
	libvirt490/Makefile
	libvirt490/PLIST
	libvirt490/PLIST.Linux
	libvirt490/TODO
	libvirt490/distinfo
	libvirt490/options.mk
	libvirt490/patches/patch-linux_virnetdev.c

Log Message:
libvirt-4.9.0 for virt-manager 2.0.0, only linux is tested@ the moment.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ebf9afed26a979b86b2e8c9a00ec5f0c0686fe9a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libvirt490/DESCR                           |   4 +
 libvirt490/Makefile                        |  63 ++++
 libvirt490/PLIST                           | 491 +++++++++++++++++++++++++++++
 libvirt490/PLIST.Linux                     | 491 +++++++++++++++++++++++++++++
 libvirt490/TODO                            |   3 +
 libvirt490/distinfo                        |   7 +
 libvirt490/options.mk                      |  47 +++
 libvirt490/patches/patch-linux_virnetdev.c | 240 ++++++++++++++
 8 files changed, 1346 insertions(+)

diffs:
diff --git a/libvirt490/DESCR b/libvirt490/DESCR
new file mode 100644
index 0000000000..1040286af4
--- /dev/null
+++ b/libvirt490/DESCR
@@ -0,0 +1,4 @@
+is a toolkit to manage virtualization platforms
+is accessible from C, Python, Perl, Java and more
+supports KVM, QEMU, Xen, Virtuozzo, VMWare ESX, LXC, BHyve and more
+targets Linux, FreeBSD, Windows and OS-X
diff --git a/libvirt490/Makefile b/libvirt490/Makefile
new file mode 100644
index 0000000000..f5192bf8d8
--- /dev/null
+++ b/libvirt490/Makefile
@@ -0,0 +1,63 @@
+# $NetBSD: Makefile,v 1.0 2019/12/02 19:27:26 andyb Exp $
+
+DISTNAME=               libvirt-4.9.0
+PKGREVISION=            5
+CATEGORIES=             sysutils
+MASTER_SITES=           http://libvirt.org/sources/
+EXTRACT_SUFX=           .tar.xz
+
+MAINTAINER=             andyb%m42.one@localhost
+HOMEPAGE=               http://libvirt.org/
+COMMENT=                Virtualisation toolkit for host operating systems
+LICENSE=                gnu-lgpl-v2
+
+GNU_CONFIGURE=          yes
+#CONFIGURE_ARGS+=       --with-vbox=no --sysconfdir=${EGDIR} --localstatedir=${VARBASE}
+CONFIGURE_ARGS+=        --without-macvtap
+USE_TOOLS+=             gmake pkg-config perl gcc
+USE_LIBTOOL=            yes
+
+#BUILD_DEFS+=           VARBASE
+
+#PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 37 # py-xml
+
+#PY_PATCHPLIST=         yes
+#REPLACE_PYTHON+=       docs/apibuild.py
+#REPLACE_PYTHON+=       src/esx/esx_vi_generator.py
+#REPLACE_PYTHON+=       src/hyperv/hyperv_wmi_generator.py
+#REPLACE_PYTHON+=       src/util/virkeycode-mapgen.py
+
+#EGDIR=                 ${PREFIX}/share/examples
+#CONF_FILES+=           ${EGDIR}/libvirt/libvirtd.conf ${PKG_SYSCONFDIR}/libvirt/libvirtd.
+#CONF_FILES+=           ${EGDIR}/libvirt/qemu/networks/autostart/default.xml ${PKG_SYSCONF
+#CONF_FILES+=           ${EGDIR}/libvirt/qemu/networks/default.xml ${PKG_SYSCONFDIR}/libvi
+#CONF_FILES+=           ${EGDIR}/logrotate.d/libvirtd ${PKG_SYSCONFDIR}/logrotate.d/libvir
+#CONF_FILES+=           ${EGDIR}/logrotate.d/libvirtd.lxc ${PKG_SYSCONFDIR}/logrotate.d/li
+#CONF_FILES+=           ${EGDIR}/logrotate.d/libvirtd.qemu ${PKG_SYSCONFDIR}/logrotate.d/l
+#CONF_FILES+=           ${EGDIR}/logrotate.d/libvirtd.uml ${PKG_SYSCONFDIR}/logrotate.d/li
+#CONF_FILES+=           ${EGDIR}/sasl2/libvirt.conf ${PKG_SYSCONFDIR}/sasl2/libvirt.conf
+
+#AUTO_MKDIRS=           yes
+#RCD_SCRIPTS=           libvirtd
+
+GNUTLS_LIBS+=           ${PREFIX}/include/gnutls
+
+#.include "options.mk"
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/yajl/buildlink3.mk"
+.include "../../mk/readline.buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../security/gnutls/buildlink3.mk"
+.include "../../security/cyrus-sasl/buildlink3.mk"
+.include "../../security/libgcrypt/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/py-xml/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libvirt490/PLIST b/libvirt490/PLIST
new file mode 100644
index 0000000000..2d201948b2
--- /dev/null
+++ b/libvirt490/PLIST
@@ -0,0 +1,491 @@
+@comment $NetBSD$
+bin/virsh
+bin/virt-admin
+bin/virt-host-validate
+bin/virt-login-shell
+bin/virt-pki-validate
+bin/virt-xml-validate
+etc/libvirt/libvirt-admin.conf
+etc/libvirt/libvirt.conf
+etc/libvirt/libvirtd.conf
+etc/libvirt/lxc.conf
+etc/libvirt/nwfilter/allow-arp.xml
+etc/libvirt/nwfilter/allow-dhcp-server.xml
+etc/libvirt/nwfilter/allow-dhcp.xml
+etc/libvirt/nwfilter/allow-incoming-ipv4.xml
+etc/libvirt/nwfilter/allow-ipv4.xml
+etc/libvirt/nwfilter/clean-traffic-gateway.xml
+etc/libvirt/nwfilter/clean-traffic.xml
+etc/libvirt/nwfilter/no-arp-ip-spoofing.xml
+etc/libvirt/nwfilter/no-arp-mac-spoofing.xml
+etc/libvirt/nwfilter/no-arp-spoofing.xml
+etc/libvirt/nwfilter/no-ip-multicast.xml
+etc/libvirt/nwfilter/no-ip-spoofing.xml
+etc/libvirt/nwfilter/no-mac-broadcast.xml
+etc/libvirt/nwfilter/no-mac-spoofing.xml
+etc/libvirt/nwfilter/no-other-l2-traffic.xml
+etc/libvirt/nwfilter/no-other-rarp-traffic.xml
+etc/libvirt/nwfilter/qemu-announce-self-rarp.xml
+etc/libvirt/nwfilter/qemu-announce-self.xml
+etc/libvirt/qemu-lockd.conf
+etc/libvirt/qemu.conf
+etc/libvirt/qemu/networks/autostart/default.xml
+etc/libvirt/qemu/networks/default.xml
+etc/libvirt/virt-login-shell.conf
+etc/libvirt/virtlockd.conf
+etc/libvirt/virtlogd.conf
+etc/logrotate.d/libvirtd
+etc/logrotate.d/libvirtd.libxl
+etc/logrotate.d/libvirtd.lxc
+etc/logrotate.d/libvirtd.qemu
+etc/logrotate.d/libvirtd.uml
+etc/sasl2/libvirt.conf
+include/libvirt/libvirt-admin.h
+include/libvirt/libvirt-common.h
+include/libvirt/libvirt-domain-snapshot.h
+include/libvirt/libvirt-domain.h
+include/libvirt/libvirt-event.h
+include/libvirt/libvirt-host.h
+include/libvirt/libvirt-interface.h
+include/libvirt/libvirt-lxc.h
+include/libvirt/libvirt-network.h
+include/libvirt/libvirt-nodedev.h
+include/libvirt/libvirt-nwfilter.h
+include/libvirt/libvirt-qemu.h
+include/libvirt/libvirt-secret.h
+include/libvirt/libvirt-storage.h
+include/libvirt/libvirt-stream.h
+include/libvirt/libvirt.h
+include/libvirt/virterror.h
+lib/libnss_libvirt.la
+lib/libnss_libvirt_guest.la
+lib/libvirt-admin.la
+lib/libvirt-lxc.la
+lib/libvirt-qemu.la
+lib/libvirt.la
+lib/libvirt/connection-driver/libvirt_driver_lxc.la
+lib/libvirt/connection-driver/libvirt_driver_network.la
+lib/libvirt/connection-driver/libvirt_driver_nwfilter.la
+lib/libvirt/connection-driver/libvirt_driver_qemu.la
+lib/libvirt/connection-driver/libvirt_driver_secret.la
+lib/libvirt/connection-driver/libvirt_driver_storage.la
+lib/libvirt/connection-driver/libvirt_driver_uml.la
+lib/libvirt/connection-driver/libvirt_driver_vbox.la
+lib/libvirt/lock-driver/lockd.la
+lib/libvirt/storage-backend/libvirt_storage_backend_fs.la
+lib/libvirt/storage-backend/libvirt_storage_backend_logical.la
+lib/libvirt/storage-backend/libvirt_storage_backend_mpath.la
+lib/libvirt/storage-backend/libvirt_storage_backend_scsi.la
+lib/libvirt/storage-file/libvirt_storage_file_fs.la
+lib/pkgconfig/libvirt-admin.pc
+lib/pkgconfig/libvirt-lxc.pc
+lib/pkgconfig/libvirt-qemu.pc
+lib/pkgconfig/libvirt.pc
+lib/sysctl.d/60-libvirtd.conf
+libexec/libvirt-guests.sh
+libexec/libvirt_iohelper
+libexec/libvirt_leaseshelper
+libexec/libvirt_lxc
+man/man1/virsh.1
+man/man1/virt-admin.1
+man/man1/virt-host-validate.1
+man/man1/virt-login-shell.1
+man/man1/virt-pki-validate.1
+man/man1/virt-xml-validate.1
+man/man7/virkeycode-atset1.7
+man/man7/virkeycode-atset2.7
+man/man7/virkeycode-atset3.7
+man/man7/virkeycode-linux.7
+man/man7/virkeycode-osx.7
+man/man7/virkeycode-qnum.7
+man/man7/virkeycode-usb.7
+man/man7/virkeycode-win32.7
+man/man7/virkeycode-xtkbd.7
+man/man7/virkeyname-linux.7
+man/man7/virkeyname-osx.7
+man/man7/virkeyname-win32.7
+man/man8/libvirtd.8
+man/man8/virtlockd.8
+man/man8/virtlogd.8
+sbin/libvirtd
+sbin/virtlockd
+sbin/virtlogd
+share/augeas/lenses/libvirt_lockd.aug
+share/augeas/lenses/libvirtd.aug
+share/augeas/lenses/libvirtd_lxc.aug
+share/augeas/lenses/libvirtd_qemu.aug
+share/augeas/lenses/tests/test_libvirt_lockd.aug
+share/augeas/lenses/tests/test_libvirtd.aug
+share/augeas/lenses/tests/test_libvirtd_lxc.aug
+share/augeas/lenses/tests/test_libvirtd_qemu.aug
+share/augeas/lenses/tests/test_virtlockd.aug
+share/augeas/lenses/tests/test_virtlogd.aug
+share/augeas/lenses/virtlockd.aug
+share/augeas/lenses/virtlogd.aug
+share/doc/${PKGNAME}/html/32favicon.png
+share/doc/${PKGNAME}/html/404.html
+share/doc/${PKGNAME}/html/acl.html
+share/doc/${PKGNAME}/html/aclpolkit.html
+share/doc/${PKGNAME}/html/api.html
+share/doc/${PKGNAME}/html/api_extension.html
+share/doc/${PKGNAME}/html/apps.html
+share/doc/${PKGNAME}/html/architecture.gif
+share/doc/${PKGNAME}/html/architecture.html
+share/doc/${PKGNAME}/html/auditlog.html
+share/doc/${PKGNAME}/html/auth.html
+share/doc/${PKGNAME}/html/bindings.html
+share/doc/${PKGNAME}/html/bugs.html
+share/doc/${PKGNAME}/html/cgroups.html
+share/doc/${PKGNAME}/html/compiling.html
+share/doc/${PKGNAME}/html/contact.html
+share/doc/${PKGNAME}/html/contribute.html
+share/doc/${PKGNAME}/html/csharp.html
+share/doc/${PKGNAME}/html/dbus.html
+share/doc/${PKGNAME}/html/devguide.html
+share/doc/${PKGNAME}/html/docs.html
+share/doc/${PKGNAME}/html/downloads.html
+share/doc/${PKGNAME}/html/drivers.html
+share/doc/${PKGNAME}/html/drvbhyve.html
+share/doc/${PKGNAME}/html/drvesx.html
+share/doc/${PKGNAME}/html/drvhyperv.html
+share/doc/${PKGNAME}/html/drvlxc.html
+share/doc/${PKGNAME}/html/drvnodedev.html
+share/doc/${PKGNAME}/html/drvopenvz.html
+share/doc/${PKGNAME}/html/drvphyp.html
+share/doc/${PKGNAME}/html/drvqemu.html
+share/doc/${PKGNAME}/html/drvremote.html
+share/doc/${PKGNAME}/html/drvtest.html
+share/doc/${PKGNAME}/html/drvuml.html
+share/doc/${PKGNAME}/html/drvvbox.html
+share/doc/${PKGNAME}/html/drvvirtuozzo.html
+share/doc/${PKGNAME}/html/drvvmware.html
+share/doc/${PKGNAME}/html/drvxen.html
+share/doc/${PKGNAME}/html/errors.html
+share/doc/${PKGNAME}/html/firewall.html
+share/doc/${PKGNAME}/html/fonts/LICENSE.md
+share/doc/${PKGNAME}/html/fonts/overpass-bold-italic.woff
+share/doc/${PKGNAME}/html/fonts/overpass-bold.woff
+share/doc/${PKGNAME}/html/fonts/overpass-italic.woff
+share/doc/${PKGNAME}/html/fonts/overpass-light-italic.woff
+share/doc/${PKGNAME}/html/fonts/overpass-light.woff
+share/doc/${PKGNAME}/html/fonts/overpass-mono-bold.woff
+share/doc/${PKGNAME}/html/fonts/overpass-mono-light.woff
+share/doc/${PKGNAME}/html/fonts/overpass-mono-regular.woff
+share/doc/${PKGNAME}/html/fonts/overpass-mono-semibold.woff
+share/doc/${PKGNAME}/html/fonts/overpass-regular.woff
+share/doc/${PKGNAME}/html/fonts/stylesheet.css
+share/doc/${PKGNAME}/html/format.html
+share/doc/${PKGNAME}/html/formatcaps.html
+share/doc/${PKGNAME}/html/formatdomain.html
+share/doc/${PKGNAME}/html/formatdomaincaps.html
+share/doc/${PKGNAME}/html/formatnetwork.html
+share/doc/${PKGNAME}/html/formatnode.html
+share/doc/${PKGNAME}/html/formatnwfilter.html
+share/doc/${PKGNAME}/html/formatsecret.html
+share/doc/${PKGNAME}/html/formatsnapshot.html
+share/doc/${PKGNAME}/html/formatstorage.html
+share/doc/${PKGNAME}/html/formatstorageencryption.html
+share/doc/${PKGNAME}/html/generic.css
+share/doc/${PKGNAME}/html/goals.html
+share/doc/${PKGNAME}/html/governance.html
+share/doc/${PKGNAME}/html/hacking.html
+share/doc/${PKGNAME}/html/hooks.html
+share/doc/${PKGNAME}/html/html/home.png
+share/doc/${PKGNAME}/html/html/index.html
+share/doc/${PKGNAME}/html/html/left.png
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-common.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-domain-snapshot.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-domain.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-event.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-host.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-interface.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-network.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-nodedev.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-nwfilter.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-secret.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-storage.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-stream.html
+share/doc/${PKGNAME}/html/html/libvirt-virterror.html
+share/doc/${PKGNAME}/html/html/right.png
+share/doc/${PKGNAME}/html/html/up.png
+share/doc/${PKGNAME}/html/hvsupport.html
+share/doc/${PKGNAME}/html/index.html
+share/doc/${PKGNAME}/html/internals.html
+share/doc/${PKGNAME}/html/internals/command.html
+share/doc/${PKGNAME}/html/internals/eventloop.html
+share/doc/${PKGNAME}/html/internals/locking.html
+share/doc/${PKGNAME}/html/internals/oomtesting.html
+share/doc/${PKGNAME}/html/internals/rpc.html
+share/doc/${PKGNAME}/html/java.html
+share/doc/${PKGNAME}/html/libvirt-daemon-arch.png
+share/doc/${PKGNAME}/html/libvirt-driver-arch.png
+share/doc/${PKGNAME}/html/libvirt-object-model.png
+share/doc/${PKGNAME}/html/libvirt.css
+share/doc/${PKGNAME}/html/locking-lockd.html
+share/doc/${PKGNAME}/html/locking-sanlock.html
+share/doc/${PKGNAME}/html/locking.html
+share/doc/${PKGNAME}/html/logging.html
+share/doc/${PKGNAME}/html/logos/logo-banner-dark-256.png
+share/doc/${PKGNAME}/html/logos/logo-banner-dark-800.png
+share/doc/${PKGNAME}/html/logos/logo-banner-dark.svg
+share/doc/${PKGNAME}/html/logos/logo-banner-light-256.png
+share/doc/${PKGNAME}/html/logos/logo-banner-light-800.png
+share/doc/${PKGNAME}/html/logos/logo-banner-light.svg
+share/doc/${PKGNAME}/html/logos/logo-base.svg
+share/doc/${PKGNAME}/html/logos/logo-square-128.png
+share/doc/${PKGNAME}/html/logos/logo-square-192.png
+share/doc/${PKGNAME}/html/logos/logo-square-256.png
+share/doc/${PKGNAME}/html/logos/logo-square-96.png
+share/doc/${PKGNAME}/html/logos/logo-square-powered-128.png
+share/doc/${PKGNAME}/html/logos/logo-square-powered-192.png
+share/doc/${PKGNAME}/html/logos/logo-square-powered-256.png
+share/doc/${PKGNAME}/html/logos/logo-square-powered-96.png
+share/doc/${PKGNAME}/html/logos/logo-square-powered.svg
+share/doc/${PKGNAME}/html/logos/logo-square.svg
+share/doc/${PKGNAME}/html/main.css
+share/doc/${PKGNAME}/html/migration-managed-direct.png
+share/doc/${PKGNAME}/html/migration-managed-p2p.png
+share/doc/${PKGNAME}/html/migration-native.png
+share/doc/${PKGNAME}/html/migration-tunnel.png
+share/doc/${PKGNAME}/html/migration-unmanaged-direct.png
+share/doc/${PKGNAME}/html/migration.html
+share/doc/${PKGNAME}/html/mobile.css
+share/doc/${PKGNAME}/html/news-2005.html
+share/doc/${PKGNAME}/html/news-2006.html
+share/doc/${PKGNAME}/html/news-2007.html
+share/doc/${PKGNAME}/html/news-2008.html
+share/doc/${PKGNAME}/html/news-2009.html
+share/doc/${PKGNAME}/html/news-2010.html
+share/doc/${PKGNAME}/html/news-2011.html
+share/doc/${PKGNAME}/html/news-2012.html
+share/doc/${PKGNAME}/html/news-2013.html
+share/doc/${PKGNAME}/html/news-2014.html
+share/doc/${PKGNAME}/html/news-2015.html
+share/doc/${PKGNAME}/html/news-2016.html
+share/doc/${PKGNAME}/html/news.html
+share/doc/${PKGNAME}/html/node.gif
+share/doc/${PKGNAME}/html/nss.html
+share/doc/${PKGNAME}/html/pci-hotplug.html
+share/doc/${PKGNAME}/html/php.html
+share/doc/${PKGNAME}/html/platforms.html
+share/doc/${PKGNAME}/html/python.html
+share/doc/${PKGNAME}/html/remote.html
+share/doc/${PKGNAME}/html/secureusage.html
+share/doc/${PKGNAME}/html/securityprocess.html
+share/doc/${PKGNAME}/html/storage.html
+share/doc/${PKGNAME}/html/support.html
+share/doc/${PKGNAME}/html/testapi.html
+share/doc/${PKGNAME}/html/testsuites.html
+share/doc/${PKGNAME}/html/testtck.html
+share/doc/${PKGNAME}/html/todo.html
+share/doc/${PKGNAME}/html/uri.html
+share/doc/${PKGNAME}/html/virshcmdref.html
+share/doc/${PKGNAME}/html/windows.html
+share/gtk-doc/html/libvirt/general.html
+share/gtk-doc/html/libvirt/home.png
+share/gtk-doc/html/libvirt/index.html
+share/gtk-doc/html/libvirt/left.png
+share/gtk-doc/html/libvirt/libvirt-virterror.html
+share/gtk-doc/html/libvirt/libvirt.devhelp
+share/gtk-doc/html/libvirt/right.png
+share/gtk-doc/html/libvirt/style.css
+share/gtk-doc/html/libvirt/up.png
+share/libvirt/api/libvirt-admin-api.xml
+share/libvirt/api/libvirt-api.xml
+share/libvirt/api/libvirt-lxc-api.xml
+share/libvirt/api/libvirt-qemu-api.xml
+share/libvirt/cpu_map/index.xml
+share/libvirt/cpu_map/ppc64_POWER6.xml
+share/libvirt/cpu_map/ppc64_POWER7.xml
+share/libvirt/cpu_map/ppc64_POWER8.xml
+share/libvirt/cpu_map/ppc64_POWER9.xml
+share/libvirt/cpu_map/ppc64_POWERPC_e5500.xml
+share/libvirt/cpu_map/ppc64_POWERPC_e6500.xml
+share/libvirt/cpu_map/ppc64_vendors.xml
+share/libvirt/cpu_map/x86_486.xml
+share/libvirt/cpu_map/x86_Broadwell-IBRS.xml
+share/libvirt/cpu_map/x86_Broadwell-noTSX-IBRS.xml
+share/libvirt/cpu_map/x86_Broadwell-noTSX.xml
+share/libvirt/cpu_map/x86_Broadwell.xml
+share/libvirt/cpu_map/x86_Conroe.xml
+share/libvirt/cpu_map/x86_EPYC-IBRS.xml
+share/libvirt/cpu_map/x86_EPYC.xml
+share/libvirt/cpu_map/x86_Haswell-IBRS.xml
+share/libvirt/cpu_map/x86_Haswell-noTSX-IBRS.xml
+share/libvirt/cpu_map/x86_Haswell-noTSX.xml
+share/libvirt/cpu_map/x86_Haswell.xml
+share/libvirt/cpu_map/x86_Icelake-Client.xml
+share/libvirt/cpu_map/x86_Icelake-Server.xml
+share/libvirt/cpu_map/x86_IvyBridge-IBRS.xml
+share/libvirt/cpu_map/x86_IvyBridge.xml
+share/libvirt/cpu_map/x86_Nehalem-IBRS.xml
+share/libvirt/cpu_map/x86_Nehalem.xml
+share/libvirt/cpu_map/x86_Opteron_G1.xml
+share/libvirt/cpu_map/x86_Opteron_G2.xml
+share/libvirt/cpu_map/x86_Opteron_G3.xml
+share/libvirt/cpu_map/x86_Opteron_G4.xml
+share/libvirt/cpu_map/x86_Opteron_G5.xml
+share/libvirt/cpu_map/x86_Penryn.xml
+share/libvirt/cpu_map/x86_SandyBridge-IBRS.xml
+share/libvirt/cpu_map/x86_SandyBridge.xml
+share/libvirt/cpu_map/x86_Skylake-Client-IBRS.xml
+share/libvirt/cpu_map/x86_Skylake-Client.xml
+share/libvirt/cpu_map/x86_Skylake-Server-IBRS.xml
+share/libvirt/cpu_map/x86_Skylake-Server.xml
+share/libvirt/cpu_map/x86_Westmere-IBRS.xml
+share/libvirt/cpu_map/x86_Westmere.xml
+share/libvirt/cpu_map/x86_athlon.xml
+share/libvirt/cpu_map/x86_core2duo.xml
+share/libvirt/cpu_map/x86_coreduo.xml
+share/libvirt/cpu_map/x86_cpu64-rhel5.xml
+share/libvirt/cpu_map/x86_cpu64-rhel6.xml
+share/libvirt/cpu_map/x86_features.xml
+share/libvirt/cpu_map/x86_kvm32.xml
+share/libvirt/cpu_map/x86_kvm64.xml
+share/libvirt/cpu_map/x86_n270.xml
+share/libvirt/cpu_map/x86_pentium.xml
+share/libvirt/cpu_map/x86_pentium2.xml
+share/libvirt/cpu_map/x86_pentium3.xml
+share/libvirt/cpu_map/x86_pentiumpro.xml
+share/libvirt/cpu_map/x86_phenom.xml
+share/libvirt/cpu_map/x86_qemu32.xml
+share/libvirt/cpu_map/x86_qemu64.xml
+share/libvirt/cpu_map/x86_vendors.xml
+share/libvirt/schemas/basictypes.rng
+share/libvirt/schemas/capability.rng
+share/libvirt/schemas/cputypes.rng
+share/libvirt/schemas/domain.rng
+share/libvirt/schemas/domaincaps.rng
+share/libvirt/schemas/domaincommon.rng
+share/libvirt/schemas/domainsnapshot.rng
+share/libvirt/schemas/interface.rng
+share/libvirt/schemas/network.rng
+share/libvirt/schemas/networkcommon.rng
+share/libvirt/schemas/nodedev.rng
+share/libvirt/schemas/nwfilter.rng
+share/libvirt/schemas/nwfilter_params.rng
+share/libvirt/schemas/nwfilterbinding.rng
+share/libvirt/schemas/secret.rng
+share/libvirt/schemas/storagecommon.rng
+share/libvirt/schemas/storagepool.rng
+share/libvirt/schemas/storagevol.rng
+share/libvirt/test-screenshot.png
+share/locale/af/LC_MESSAGES/libvirt.mo
+share/locale/am/LC_MESSAGES/libvirt.mo
+share/locale/anp/LC_MESSAGES/libvirt.mo
+share/locale/ar/LC_MESSAGES/libvirt.mo
+share/locale/as/LC_MESSAGES/libvirt.mo
+share/locale/ast/LC_MESSAGES/libvirt.mo
+share/locale/bal/LC_MESSAGES/libvirt.mo
+share/locale/be/LC_MESSAGES/libvirt.mo
+share/locale/bg/LC_MESSAGES/libvirt.mo
+share/locale/bn/LC_MESSAGES/libvirt.mo
+share/locale/bn_IN/LC_MESSAGES/libvirt.mo
+share/locale/bo/LC_MESSAGES/libvirt.mo
+share/locale/br/LC_MESSAGES/libvirt.mo
+share/locale/brx/LC_MESSAGES/libvirt.mo
+share/locale/bs/LC_MESSAGES/libvirt.mo
+share/locale/ca/LC_MESSAGES/libvirt.mo
+share/locale/cs/LC_MESSAGES/libvirt.mo
+share/locale/cy/LC_MESSAGES/libvirt.mo
+share/locale/da/LC_MESSAGES/libvirt.mo
+share/locale/de/LC_MESSAGES/libvirt.mo
+share/locale/de_CH/LC_MESSAGES/libvirt.mo
+share/locale/el/LC_MESSAGES/libvirt.mo
+share/locale/en_GB/LC_MESSAGES/libvirt.mo
+share/locale/eo/LC_MESSAGES/libvirt.mo
+share/locale/es/LC_MESSAGES/libvirt.mo
+share/locale/et/LC_MESSAGES/libvirt.mo
+share/locale/eu/LC_MESSAGES/libvirt.mo
+share/locale/fa/LC_MESSAGES/libvirt.mo
+share/locale/fi/LC_MESSAGES/libvirt.mo
+share/locale/fil/LC_MESSAGES/libvirt.mo
+share/locale/fr/LC_MESSAGES/libvirt.mo
+share/locale/fur/LC_MESSAGES/libvirt.mo
+share/locale/ga/LC_MESSAGES/libvirt.mo
+share/locale/gl/LC_MESSAGES/libvirt.mo
+share/locale/gu/LC_MESSAGES/libvirt.mo
+share/locale/he/LC_MESSAGES/libvirt.mo
+share/locale/hi/LC_MESSAGES/libvirt.mo
+share/locale/hr/LC_MESSAGES/libvirt.mo
+share/locale/hu/LC_MESSAGES/libvirt.mo
+share/locale/ia/LC_MESSAGES/libvirt.mo
+share/locale/id/LC_MESSAGES/libvirt.mo
+share/locale/ilo/LC_MESSAGES/libvirt.mo
+share/locale/is/LC_MESSAGES/libvirt.mo
+share/locale/it/LC_MESSAGES/libvirt.mo
+share/locale/ja/LC_MESSAGES/libvirt.mo
+share/locale/ka/LC_MESSAGES/libvirt.mo
+share/locale/kk/LC_MESSAGES/libvirt.mo
+share/locale/km/LC_MESSAGES/libvirt.mo
+share/locale/kn/LC_MESSAGES/libvirt.mo
+share/locale/ko/LC_MESSAGES/libvirt.mo
+share/locale/kw/LC_MESSAGES/libvirt.mo
+share/locale/kw@kkcor/LC_MESSAGES/libvirt.mo
+share/locale/kw@uccor/LC_MESSAGES/libvirt.mo
+share/locale/kw_GB/LC_MESSAGES/libvirt.mo
+share/locale/ky/LC_MESSAGES/libvirt.mo
+share/locale/lt/LC_MESSAGES/libvirt.mo
+share/locale/lv/LC_MESSAGES/libvirt.mo
+share/locale/mai/LC_MESSAGES/libvirt.mo
+share/locale/mk/LC_MESSAGES/libvirt.mo
+share/locale/ml/LC_MESSAGES/libvirt.mo
+share/locale/mn/LC_MESSAGES/libvirt.mo
+share/locale/mr/LC_MESSAGES/libvirt.mo
+share/locale/ms/LC_MESSAGES/libvirt.mo
+share/locale/my/LC_MESSAGES/libvirt.mo
+share/locale/nb/LC_MESSAGES/libvirt.mo
+share/locale/nds/LC_MESSAGES/libvirt.mo
+share/locale/ne/LC_MESSAGES/libvirt.mo
+share/locale/nl/LC_MESSAGES/libvirt.mo
+share/locale/nn/LC_MESSAGES/libvirt.mo
+share/locale/nso/LC_MESSAGES/libvirt.mo
+share/locale/or/LC_MESSAGES/libvirt.mo
+share/locale/pa/LC_MESSAGES/libvirt.mo
+share/locale/pl/LC_MESSAGES/libvirt.mo
+share/locale/pt/LC_MESSAGES/libvirt.mo
+share/locale/pt_BR/LC_MESSAGES/libvirt.mo
+share/locale/ro/LC_MESSAGES/libvirt.mo
+share/locale/ru/LC_MESSAGES/libvirt.mo
+share/locale/si/LC_MESSAGES/libvirt.mo
+share/locale/sk/LC_MESSAGES/libvirt.mo
+share/locale/sl/LC_MESSAGES/libvirt.mo
+share/locale/sq/LC_MESSAGES/libvirt.mo
+share/locale/sr/LC_MESSAGES/libvirt.mo
+share/locale/sr@latin/LC_MESSAGES/libvirt.mo
+share/locale/sv/LC_MESSAGES/libvirt.mo
+share/locale/ta/LC_MESSAGES/libvirt.mo
+share/locale/te/LC_MESSAGES/libvirt.mo
+share/locale/tg/LC_MESSAGES/libvirt.mo
+share/locale/th/LC_MESSAGES/libvirt.mo
+share/locale/tr/LC_MESSAGES/libvirt.mo
+share/locale/tw/LC_MESSAGES/libvirt.mo
+share/locale/uk/LC_MESSAGES/libvirt.mo
+share/locale/ur/LC_MESSAGES/libvirt.mo
+share/locale/vi/LC_MESSAGES/libvirt.mo
+share/locale/wba/LC_MESSAGES/libvirt.mo
+share/locale/yo/LC_MESSAGES/libvirt.mo
+share/locale/zh_CN/LC_MESSAGES/libvirt.mo
+share/locale/zh_HK/LC_MESSAGES/libvirt.mo
+share/locale/zh_TW/LC_MESSAGES/libvirt.mo
+share/locale/zu/LC_MESSAGES/libvirt.mo
+@pkgdir var/run/libvirt/uml
+@pkgdir var/run/libvirt/qemu/swtpm
+@pkgdir var/run/libvirt/network
+@pkgdir var/run/libvirt/lxc
+@pkgdir var/run/libvirt/lockd
+@pkgdir var/log/swtpm/libvirt/qemu
+@pkgdir var/log/libvirt/uml
+@pkgdir var/log/libvirt/qemu
+@pkgdir var/log/libvirt/lxc
+@pkgdir var/lib/libvirt/uml
+@pkgdir var/lib/libvirt/swtpm
+@pkgdir var/lib/libvirt/qemu
+@pkgdir var/lib/libvirt/network
+@pkgdir var/lib/libvirt/lxc
+@pkgdir var/lib/libvirt/lockd/files
+@pkgdir var/lib/libvirt/images
+@pkgdir var/lib/libvirt/filesystems
+@pkgdir var/lib/libvirt/dnsmasq
+@pkgdir var/lib/libvirt/boot
+@pkgdir var/cache/libvirt/qemu
diff --git a/libvirt490/PLIST.Linux b/libvirt490/PLIST.Linux
new file mode 100644
index 0000000000..2d201948b2
--- /dev/null
+++ b/libvirt490/PLIST.Linux
@@ -0,0 +1,491 @@
+@comment $NetBSD$
+bin/virsh
+bin/virt-admin
+bin/virt-host-validate
+bin/virt-login-shell
+bin/virt-pki-validate
+bin/virt-xml-validate
+etc/libvirt/libvirt-admin.conf
+etc/libvirt/libvirt.conf
+etc/libvirt/libvirtd.conf
+etc/libvirt/lxc.conf
+etc/libvirt/nwfilter/allow-arp.xml
+etc/libvirt/nwfilter/allow-dhcp-server.xml
+etc/libvirt/nwfilter/allow-dhcp.xml
+etc/libvirt/nwfilter/allow-incoming-ipv4.xml
+etc/libvirt/nwfilter/allow-ipv4.xml
+etc/libvirt/nwfilter/clean-traffic-gateway.xml
+etc/libvirt/nwfilter/clean-traffic.xml
+etc/libvirt/nwfilter/no-arp-ip-spoofing.xml
+etc/libvirt/nwfilter/no-arp-mac-spoofing.xml
+etc/libvirt/nwfilter/no-arp-spoofing.xml
+etc/libvirt/nwfilter/no-ip-multicast.xml
+etc/libvirt/nwfilter/no-ip-spoofing.xml
+etc/libvirt/nwfilter/no-mac-broadcast.xml
+etc/libvirt/nwfilter/no-mac-spoofing.xml
+etc/libvirt/nwfilter/no-other-l2-traffic.xml
+etc/libvirt/nwfilter/no-other-rarp-traffic.xml
+etc/libvirt/nwfilter/qemu-announce-self-rarp.xml
+etc/libvirt/nwfilter/qemu-announce-self.xml
+etc/libvirt/qemu-lockd.conf
+etc/libvirt/qemu.conf
+etc/libvirt/qemu/networks/autostart/default.xml
+etc/libvirt/qemu/networks/default.xml
+etc/libvirt/virt-login-shell.conf
+etc/libvirt/virtlockd.conf
+etc/libvirt/virtlogd.conf
+etc/logrotate.d/libvirtd
+etc/logrotate.d/libvirtd.libxl
+etc/logrotate.d/libvirtd.lxc
+etc/logrotate.d/libvirtd.qemu
+etc/logrotate.d/libvirtd.uml
+etc/sasl2/libvirt.conf
+include/libvirt/libvirt-admin.h
+include/libvirt/libvirt-common.h
+include/libvirt/libvirt-domain-snapshot.h
+include/libvirt/libvirt-domain.h
+include/libvirt/libvirt-event.h
+include/libvirt/libvirt-host.h
+include/libvirt/libvirt-interface.h
+include/libvirt/libvirt-lxc.h
+include/libvirt/libvirt-network.h
+include/libvirt/libvirt-nodedev.h
+include/libvirt/libvirt-nwfilter.h
+include/libvirt/libvirt-qemu.h
+include/libvirt/libvirt-secret.h
+include/libvirt/libvirt-storage.h
+include/libvirt/libvirt-stream.h
+include/libvirt/libvirt.h
+include/libvirt/virterror.h
+lib/libnss_libvirt.la
+lib/libnss_libvirt_guest.la
+lib/libvirt-admin.la
+lib/libvirt-lxc.la
+lib/libvirt-qemu.la
+lib/libvirt.la
+lib/libvirt/connection-driver/libvirt_driver_lxc.la
+lib/libvirt/connection-driver/libvirt_driver_network.la
+lib/libvirt/connection-driver/libvirt_driver_nwfilter.la
+lib/libvirt/connection-driver/libvirt_driver_qemu.la
+lib/libvirt/connection-driver/libvirt_driver_secret.la
+lib/libvirt/connection-driver/libvirt_driver_storage.la
+lib/libvirt/connection-driver/libvirt_driver_uml.la
+lib/libvirt/connection-driver/libvirt_driver_vbox.la
+lib/libvirt/lock-driver/lockd.la
+lib/libvirt/storage-backend/libvirt_storage_backend_fs.la
+lib/libvirt/storage-backend/libvirt_storage_backend_logical.la
+lib/libvirt/storage-backend/libvirt_storage_backend_mpath.la
+lib/libvirt/storage-backend/libvirt_storage_backend_scsi.la
+lib/libvirt/storage-file/libvirt_storage_file_fs.la
+lib/pkgconfig/libvirt-admin.pc
+lib/pkgconfig/libvirt-lxc.pc
+lib/pkgconfig/libvirt-qemu.pc
+lib/pkgconfig/libvirt.pc
+lib/sysctl.d/60-libvirtd.conf
+libexec/libvirt-guests.sh
+libexec/libvirt_iohelper
+libexec/libvirt_leaseshelper
+libexec/libvirt_lxc
+man/man1/virsh.1
+man/man1/virt-admin.1
+man/man1/virt-host-validate.1
+man/man1/virt-login-shell.1
+man/man1/virt-pki-validate.1
+man/man1/virt-xml-validate.1
+man/man7/virkeycode-atset1.7
+man/man7/virkeycode-atset2.7
+man/man7/virkeycode-atset3.7
+man/man7/virkeycode-linux.7
+man/man7/virkeycode-osx.7
+man/man7/virkeycode-qnum.7
+man/man7/virkeycode-usb.7
+man/man7/virkeycode-win32.7
+man/man7/virkeycode-xtkbd.7
+man/man7/virkeyname-linux.7
+man/man7/virkeyname-osx.7
+man/man7/virkeyname-win32.7
+man/man8/libvirtd.8
+man/man8/virtlockd.8
+man/man8/virtlogd.8
+sbin/libvirtd
+sbin/virtlockd
+sbin/virtlogd
+share/augeas/lenses/libvirt_lockd.aug
+share/augeas/lenses/libvirtd.aug
+share/augeas/lenses/libvirtd_lxc.aug
+share/augeas/lenses/libvirtd_qemu.aug
+share/augeas/lenses/tests/test_libvirt_lockd.aug
+share/augeas/lenses/tests/test_libvirtd.aug
+share/augeas/lenses/tests/test_libvirtd_lxc.aug
+share/augeas/lenses/tests/test_libvirtd_qemu.aug
+share/augeas/lenses/tests/test_virtlockd.aug
+share/augeas/lenses/tests/test_virtlogd.aug
+share/augeas/lenses/virtlockd.aug
+share/augeas/lenses/virtlogd.aug
+share/doc/${PKGNAME}/html/32favicon.png
+share/doc/${PKGNAME}/html/404.html
+share/doc/${PKGNAME}/html/acl.html
+share/doc/${PKGNAME}/html/aclpolkit.html
+share/doc/${PKGNAME}/html/api.html
+share/doc/${PKGNAME}/html/api_extension.html
+share/doc/${PKGNAME}/html/apps.html
+share/doc/${PKGNAME}/html/architecture.gif
+share/doc/${PKGNAME}/html/architecture.html
+share/doc/${PKGNAME}/html/auditlog.html
+share/doc/${PKGNAME}/html/auth.html
+share/doc/${PKGNAME}/html/bindings.html
+share/doc/${PKGNAME}/html/bugs.html
+share/doc/${PKGNAME}/html/cgroups.html
+share/doc/${PKGNAME}/html/compiling.html
+share/doc/${PKGNAME}/html/contact.html
+share/doc/${PKGNAME}/html/contribute.html
+share/doc/${PKGNAME}/html/csharp.html
+share/doc/${PKGNAME}/html/dbus.html
+share/doc/${PKGNAME}/html/devguide.html
+share/doc/${PKGNAME}/html/docs.html
+share/doc/${PKGNAME}/html/downloads.html
+share/doc/${PKGNAME}/html/drivers.html
+share/doc/${PKGNAME}/html/drvbhyve.html
+share/doc/${PKGNAME}/html/drvesx.html
+share/doc/${PKGNAME}/html/drvhyperv.html
+share/doc/${PKGNAME}/html/drvlxc.html
+share/doc/${PKGNAME}/html/drvnodedev.html
+share/doc/${PKGNAME}/html/drvopenvz.html
+share/doc/${PKGNAME}/html/drvphyp.html
+share/doc/${PKGNAME}/html/drvqemu.html
+share/doc/${PKGNAME}/html/drvremote.html
+share/doc/${PKGNAME}/html/drvtest.html
+share/doc/${PKGNAME}/html/drvuml.html
+share/doc/${PKGNAME}/html/drvvbox.html
+share/doc/${PKGNAME}/html/drvvirtuozzo.html
+share/doc/${PKGNAME}/html/drvvmware.html
+share/doc/${PKGNAME}/html/drvxen.html
+share/doc/${PKGNAME}/html/errors.html
+share/doc/${PKGNAME}/html/firewall.html
+share/doc/${PKGNAME}/html/fonts/LICENSE.md
+share/doc/${PKGNAME}/html/fonts/overpass-bold-italic.woff
+share/doc/${PKGNAME}/html/fonts/overpass-bold.woff
+share/doc/${PKGNAME}/html/fonts/overpass-italic.woff
+share/doc/${PKGNAME}/html/fonts/overpass-light-italic.woff
+share/doc/${PKGNAME}/html/fonts/overpass-light.woff
+share/doc/${PKGNAME}/html/fonts/overpass-mono-bold.woff
+share/doc/${PKGNAME}/html/fonts/overpass-mono-light.woff
+share/doc/${PKGNAME}/html/fonts/overpass-mono-regular.woff
+share/doc/${PKGNAME}/html/fonts/overpass-mono-semibold.woff
+share/doc/${PKGNAME}/html/fonts/overpass-regular.woff
+share/doc/${PKGNAME}/html/fonts/stylesheet.css
+share/doc/${PKGNAME}/html/format.html
+share/doc/${PKGNAME}/html/formatcaps.html
+share/doc/${PKGNAME}/html/formatdomain.html
+share/doc/${PKGNAME}/html/formatdomaincaps.html
+share/doc/${PKGNAME}/html/formatnetwork.html
+share/doc/${PKGNAME}/html/formatnode.html
+share/doc/${PKGNAME}/html/formatnwfilter.html
+share/doc/${PKGNAME}/html/formatsecret.html
+share/doc/${PKGNAME}/html/formatsnapshot.html
+share/doc/${PKGNAME}/html/formatstorage.html
+share/doc/${PKGNAME}/html/formatstorageencryption.html
+share/doc/${PKGNAME}/html/generic.css
+share/doc/${PKGNAME}/html/goals.html
+share/doc/${PKGNAME}/html/governance.html
+share/doc/${PKGNAME}/html/hacking.html
+share/doc/${PKGNAME}/html/hooks.html
+share/doc/${PKGNAME}/html/html/home.png
+share/doc/${PKGNAME}/html/html/index.html
+share/doc/${PKGNAME}/html/html/left.png
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-common.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-domain-snapshot.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-domain.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-event.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-host.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-interface.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-network.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-nodedev.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-nwfilter.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-secret.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-storage.html
+share/doc/${PKGNAME}/html/html/libvirt-libvirt-stream.html
+share/doc/${PKGNAME}/html/html/libvirt-virterror.html
+share/doc/${PKGNAME}/html/html/right.png
+share/doc/${PKGNAME}/html/html/up.png
+share/doc/${PKGNAME}/html/hvsupport.html
+share/doc/${PKGNAME}/html/index.html
+share/doc/${PKGNAME}/html/internals.html
+share/doc/${PKGNAME}/html/internals/command.html
+share/doc/${PKGNAME}/html/internals/eventloop.html
+share/doc/${PKGNAME}/html/internals/locking.html
+share/doc/${PKGNAME}/html/internals/oomtesting.html
+share/doc/${PKGNAME}/html/internals/rpc.html
+share/doc/${PKGNAME}/html/java.html
+share/doc/${PKGNAME}/html/libvirt-daemon-arch.png
+share/doc/${PKGNAME}/html/libvirt-driver-arch.png
+share/doc/${PKGNAME}/html/libvirt-object-model.png
+share/doc/${PKGNAME}/html/libvirt.css
+share/doc/${PKGNAME}/html/locking-lockd.html
+share/doc/${PKGNAME}/html/locking-sanlock.html
+share/doc/${PKGNAME}/html/locking.html
+share/doc/${PKGNAME}/html/logging.html
+share/doc/${PKGNAME}/html/logos/logo-banner-dark-256.png
+share/doc/${PKGNAME}/html/logos/logo-banner-dark-800.png
+share/doc/${PKGNAME}/html/logos/logo-banner-dark.svg
+share/doc/${PKGNAME}/html/logos/logo-banner-light-256.png
+share/doc/${PKGNAME}/html/logos/logo-banner-light-800.png
+share/doc/${PKGNAME}/html/logos/logo-banner-light.svg
+share/doc/${PKGNAME}/html/logos/logo-base.svg
+share/doc/${PKGNAME}/html/logos/logo-square-128.png
+share/doc/${PKGNAME}/html/logos/logo-square-192.png
+share/doc/${PKGNAME}/html/logos/logo-square-256.png
+share/doc/${PKGNAME}/html/logos/logo-square-96.png
+share/doc/${PKGNAME}/html/logos/logo-square-powered-128.png
+share/doc/${PKGNAME}/html/logos/logo-square-powered-192.png
+share/doc/${PKGNAME}/html/logos/logo-square-powered-256.png
+share/doc/${PKGNAME}/html/logos/logo-square-powered-96.png
+share/doc/${PKGNAME}/html/logos/logo-square-powered.svg
+share/doc/${PKGNAME}/html/logos/logo-square.svg
+share/doc/${PKGNAME}/html/main.css
+share/doc/${PKGNAME}/html/migration-managed-direct.png
+share/doc/${PKGNAME}/html/migration-managed-p2p.png
+share/doc/${PKGNAME}/html/migration-native.png
+share/doc/${PKGNAME}/html/migration-tunnel.png
+share/doc/${PKGNAME}/html/migration-unmanaged-direct.png
+share/doc/${PKGNAME}/html/migration.html
+share/doc/${PKGNAME}/html/mobile.css
+share/doc/${PKGNAME}/html/news-2005.html
+share/doc/${PKGNAME}/html/news-2006.html
+share/doc/${PKGNAME}/html/news-2007.html
+share/doc/${PKGNAME}/html/news-2008.html
+share/doc/${PKGNAME}/html/news-2009.html
+share/doc/${PKGNAME}/html/news-2010.html
+share/doc/${PKGNAME}/html/news-2011.html
+share/doc/${PKGNAME}/html/news-2012.html
+share/doc/${PKGNAME}/html/news-2013.html
+share/doc/${PKGNAME}/html/news-2014.html
+share/doc/${PKGNAME}/html/news-2015.html
+share/doc/${PKGNAME}/html/news-2016.html
+share/doc/${PKGNAME}/html/news.html
+share/doc/${PKGNAME}/html/node.gif
+share/doc/${PKGNAME}/html/nss.html
+share/doc/${PKGNAME}/html/pci-hotplug.html
+share/doc/${PKGNAME}/html/php.html
+share/doc/${PKGNAME}/html/platforms.html
+share/doc/${PKGNAME}/html/python.html
+share/doc/${PKGNAME}/html/remote.html
+share/doc/${PKGNAME}/html/secureusage.html
+share/doc/${PKGNAME}/html/securityprocess.html
+share/doc/${PKGNAME}/html/storage.html
+share/doc/${PKGNAME}/html/support.html
+share/doc/${PKGNAME}/html/testapi.html
+share/doc/${PKGNAME}/html/testsuites.html
+share/doc/${PKGNAME}/html/testtck.html
+share/doc/${PKGNAME}/html/todo.html
+share/doc/${PKGNAME}/html/uri.html
+share/doc/${PKGNAME}/html/virshcmdref.html
+share/doc/${PKGNAME}/html/windows.html
+share/gtk-doc/html/libvirt/general.html
+share/gtk-doc/html/libvirt/home.png
+share/gtk-doc/html/libvirt/index.html
+share/gtk-doc/html/libvirt/left.png
+share/gtk-doc/html/libvirt/libvirt-virterror.html
+share/gtk-doc/html/libvirt/libvirt.devhelp
+share/gtk-doc/html/libvirt/right.png
+share/gtk-doc/html/libvirt/style.css
+share/gtk-doc/html/libvirt/up.png
+share/libvirt/api/libvirt-admin-api.xml
+share/libvirt/api/libvirt-api.xml
+share/libvirt/api/libvirt-lxc-api.xml
+share/libvirt/api/libvirt-qemu-api.xml
+share/libvirt/cpu_map/index.xml
+share/libvirt/cpu_map/ppc64_POWER6.xml
+share/libvirt/cpu_map/ppc64_POWER7.xml
+share/libvirt/cpu_map/ppc64_POWER8.xml
+share/libvirt/cpu_map/ppc64_POWER9.xml
+share/libvirt/cpu_map/ppc64_POWERPC_e5500.xml
+share/libvirt/cpu_map/ppc64_POWERPC_e6500.xml
+share/libvirt/cpu_map/ppc64_vendors.xml
+share/libvirt/cpu_map/x86_486.xml
+share/libvirt/cpu_map/x86_Broadwell-IBRS.xml
+share/libvirt/cpu_map/x86_Broadwell-noTSX-IBRS.xml
+share/libvirt/cpu_map/x86_Broadwell-noTSX.xml
+share/libvirt/cpu_map/x86_Broadwell.xml
+share/libvirt/cpu_map/x86_Conroe.xml
+share/libvirt/cpu_map/x86_EPYC-IBRS.xml
+share/libvirt/cpu_map/x86_EPYC.xml
+share/libvirt/cpu_map/x86_Haswell-IBRS.xml
+share/libvirt/cpu_map/x86_Haswell-noTSX-IBRS.xml
+share/libvirt/cpu_map/x86_Haswell-noTSX.xml
+share/libvirt/cpu_map/x86_Haswell.xml
+share/libvirt/cpu_map/x86_Icelake-Client.xml
+share/libvirt/cpu_map/x86_Icelake-Server.xml
+share/libvirt/cpu_map/x86_IvyBridge-IBRS.xml
+share/libvirt/cpu_map/x86_IvyBridge.xml
+share/libvirt/cpu_map/x86_Nehalem-IBRS.xml
+share/libvirt/cpu_map/x86_Nehalem.xml
+share/libvirt/cpu_map/x86_Opteron_G1.xml
+share/libvirt/cpu_map/x86_Opteron_G2.xml
+share/libvirt/cpu_map/x86_Opteron_G3.xml
+share/libvirt/cpu_map/x86_Opteron_G4.xml
+share/libvirt/cpu_map/x86_Opteron_G5.xml
+share/libvirt/cpu_map/x86_Penryn.xml
+share/libvirt/cpu_map/x86_SandyBridge-IBRS.xml
+share/libvirt/cpu_map/x86_SandyBridge.xml
+share/libvirt/cpu_map/x86_Skylake-Client-IBRS.xml
+share/libvirt/cpu_map/x86_Skylake-Client.xml
+share/libvirt/cpu_map/x86_Skylake-Server-IBRS.xml
+share/libvirt/cpu_map/x86_Skylake-Server.xml
+share/libvirt/cpu_map/x86_Westmere-IBRS.xml
+share/libvirt/cpu_map/x86_Westmere.xml
+share/libvirt/cpu_map/x86_athlon.xml
+share/libvirt/cpu_map/x86_core2duo.xml
+share/libvirt/cpu_map/x86_coreduo.xml
+share/libvirt/cpu_map/x86_cpu64-rhel5.xml
+share/libvirt/cpu_map/x86_cpu64-rhel6.xml
+share/libvirt/cpu_map/x86_features.xml
+share/libvirt/cpu_map/x86_kvm32.xml
+share/libvirt/cpu_map/x86_kvm64.xml
+share/libvirt/cpu_map/x86_n270.xml
+share/libvirt/cpu_map/x86_pentium.xml
+share/libvirt/cpu_map/x86_pentium2.xml
+share/libvirt/cpu_map/x86_pentium3.xml
+share/libvirt/cpu_map/x86_pentiumpro.xml
+share/libvirt/cpu_map/x86_phenom.xml
+share/libvirt/cpu_map/x86_qemu32.xml
+share/libvirt/cpu_map/x86_qemu64.xml
+share/libvirt/cpu_map/x86_vendors.xml
+share/libvirt/schemas/basictypes.rng
+share/libvirt/schemas/capability.rng
+share/libvirt/schemas/cputypes.rng
+share/libvirt/schemas/domain.rng
+share/libvirt/schemas/domaincaps.rng
+share/libvirt/schemas/domaincommon.rng
+share/libvirt/schemas/domainsnapshot.rng
+share/libvirt/schemas/interface.rng
+share/libvirt/schemas/network.rng
+share/libvirt/schemas/networkcommon.rng
+share/libvirt/schemas/nodedev.rng
+share/libvirt/schemas/nwfilter.rng
+share/libvirt/schemas/nwfilter_params.rng
+share/libvirt/schemas/nwfilterbinding.rng
+share/libvirt/schemas/secret.rng
+share/libvirt/schemas/storagecommon.rng
+share/libvirt/schemas/storagepool.rng
+share/libvirt/schemas/storagevol.rng
+share/libvirt/test-screenshot.png
+share/locale/af/LC_MESSAGES/libvirt.mo
+share/locale/am/LC_MESSAGES/libvirt.mo
+share/locale/anp/LC_MESSAGES/libvirt.mo
+share/locale/ar/LC_MESSAGES/libvirt.mo
+share/locale/as/LC_MESSAGES/libvirt.mo
+share/locale/ast/LC_MESSAGES/libvirt.mo
+share/locale/bal/LC_MESSAGES/libvirt.mo
+share/locale/be/LC_MESSAGES/libvirt.mo
+share/locale/bg/LC_MESSAGES/libvirt.mo
+share/locale/bn/LC_MESSAGES/libvirt.mo
+share/locale/bn_IN/LC_MESSAGES/libvirt.mo
+share/locale/bo/LC_MESSAGES/libvirt.mo
+share/locale/br/LC_MESSAGES/libvirt.mo
+share/locale/brx/LC_MESSAGES/libvirt.mo
+share/locale/bs/LC_MESSAGES/libvirt.mo
+share/locale/ca/LC_MESSAGES/libvirt.mo
+share/locale/cs/LC_MESSAGES/libvirt.mo
+share/locale/cy/LC_MESSAGES/libvirt.mo
+share/locale/da/LC_MESSAGES/libvirt.mo
+share/locale/de/LC_MESSAGES/libvirt.mo
+share/locale/de_CH/LC_MESSAGES/libvirt.mo
+share/locale/el/LC_MESSAGES/libvirt.mo
+share/locale/en_GB/LC_MESSAGES/libvirt.mo
+share/locale/eo/LC_MESSAGES/libvirt.mo
+share/locale/es/LC_MESSAGES/libvirt.mo
+share/locale/et/LC_MESSAGES/libvirt.mo
+share/locale/eu/LC_MESSAGES/libvirt.mo
+share/locale/fa/LC_MESSAGES/libvirt.mo
+share/locale/fi/LC_MESSAGES/libvirt.mo
+share/locale/fil/LC_MESSAGES/libvirt.mo
+share/locale/fr/LC_MESSAGES/libvirt.mo
+share/locale/fur/LC_MESSAGES/libvirt.mo
+share/locale/ga/LC_MESSAGES/libvirt.mo
+share/locale/gl/LC_MESSAGES/libvirt.mo
+share/locale/gu/LC_MESSAGES/libvirt.mo
+share/locale/he/LC_MESSAGES/libvirt.mo
+share/locale/hi/LC_MESSAGES/libvirt.mo
+share/locale/hr/LC_MESSAGES/libvirt.mo
+share/locale/hu/LC_MESSAGES/libvirt.mo
+share/locale/ia/LC_MESSAGES/libvirt.mo
+share/locale/id/LC_MESSAGES/libvirt.mo
+share/locale/ilo/LC_MESSAGES/libvirt.mo
+share/locale/is/LC_MESSAGES/libvirt.mo
+share/locale/it/LC_MESSAGES/libvirt.mo
+share/locale/ja/LC_MESSAGES/libvirt.mo
+share/locale/ka/LC_MESSAGES/libvirt.mo
+share/locale/kk/LC_MESSAGES/libvirt.mo
+share/locale/km/LC_MESSAGES/libvirt.mo
+share/locale/kn/LC_MESSAGES/libvirt.mo
+share/locale/ko/LC_MESSAGES/libvirt.mo
+share/locale/kw/LC_MESSAGES/libvirt.mo
+share/locale/kw@kkcor/LC_MESSAGES/libvirt.mo
+share/locale/kw@uccor/LC_MESSAGES/libvirt.mo
+share/locale/kw_GB/LC_MESSAGES/libvirt.mo
+share/locale/ky/LC_MESSAGES/libvirt.mo
+share/locale/lt/LC_MESSAGES/libvirt.mo
+share/locale/lv/LC_MESSAGES/libvirt.mo
+share/locale/mai/LC_MESSAGES/libvirt.mo
+share/locale/mk/LC_MESSAGES/libvirt.mo
+share/locale/ml/LC_MESSAGES/libvirt.mo
+share/locale/mn/LC_MESSAGES/libvirt.mo
+share/locale/mr/LC_MESSAGES/libvirt.mo
+share/locale/ms/LC_MESSAGES/libvirt.mo
+share/locale/my/LC_MESSAGES/libvirt.mo
+share/locale/nb/LC_MESSAGES/libvirt.mo
+share/locale/nds/LC_MESSAGES/libvirt.mo
+share/locale/ne/LC_MESSAGES/libvirt.mo
+share/locale/nl/LC_MESSAGES/libvirt.mo
+share/locale/nn/LC_MESSAGES/libvirt.mo
+share/locale/nso/LC_MESSAGES/libvirt.mo
+share/locale/or/LC_MESSAGES/libvirt.mo
+share/locale/pa/LC_MESSAGES/libvirt.mo
+share/locale/pl/LC_MESSAGES/libvirt.mo
+share/locale/pt/LC_MESSAGES/libvirt.mo
+share/locale/pt_BR/LC_MESSAGES/libvirt.mo
+share/locale/ro/LC_MESSAGES/libvirt.mo
+share/locale/ru/LC_MESSAGES/libvirt.mo
+share/locale/si/LC_MESSAGES/libvirt.mo
+share/locale/sk/LC_MESSAGES/libvirt.mo
+share/locale/sl/LC_MESSAGES/libvirt.mo
+share/locale/sq/LC_MESSAGES/libvirt.mo
+share/locale/sr/LC_MESSAGES/libvirt.mo
+share/locale/sr@latin/LC_MESSAGES/libvirt.mo
+share/locale/sv/LC_MESSAGES/libvirt.mo
+share/locale/ta/LC_MESSAGES/libvirt.mo
+share/locale/te/LC_MESSAGES/libvirt.mo
+share/locale/tg/LC_MESSAGES/libvirt.mo
+share/locale/th/LC_MESSAGES/libvirt.mo
+share/locale/tr/LC_MESSAGES/libvirt.mo
+share/locale/tw/LC_MESSAGES/libvirt.mo
+share/locale/uk/LC_MESSAGES/libvirt.mo
+share/locale/ur/LC_MESSAGES/libvirt.mo
+share/locale/vi/LC_MESSAGES/libvirt.mo
+share/locale/wba/LC_MESSAGES/libvirt.mo
+share/locale/yo/LC_MESSAGES/libvirt.mo
+share/locale/zh_CN/LC_MESSAGES/libvirt.mo
+share/locale/zh_HK/LC_MESSAGES/libvirt.mo
+share/locale/zh_TW/LC_MESSAGES/libvirt.mo
+share/locale/zu/LC_MESSAGES/libvirt.mo
+@pkgdir var/run/libvirt/uml
+@pkgdir var/run/libvirt/qemu/swtpm
+@pkgdir var/run/libvirt/network
+@pkgdir var/run/libvirt/lxc
+@pkgdir var/run/libvirt/lockd
+@pkgdir var/log/swtpm/libvirt/qemu
+@pkgdir var/log/libvirt/uml
+@pkgdir var/log/libvirt/qemu
+@pkgdir var/log/libvirt/lxc
+@pkgdir var/lib/libvirt/uml
+@pkgdir var/lib/libvirt/swtpm
+@pkgdir var/lib/libvirt/qemu
+@pkgdir var/lib/libvirt/network
+@pkgdir var/lib/libvirt/lxc
+@pkgdir var/lib/libvirt/lockd/files
+@pkgdir var/lib/libvirt/images
+@pkgdir var/lib/libvirt/filesystems
+@pkgdir var/lib/libvirt/dnsmasq
+@pkgdir var/lib/libvirt/boot
+@pkgdir var/cache/libvirt/qemu
diff --git a/libvirt490/TODO b/libvirt490/TODO
new file mode 100644
index 0000000000..17fab6e64f
--- /dev/null
+++ b/libvirt490/TODO
@@ -0,0 +1,3 @@
+Builds and is executable and is starting, needs testing.
+Only tested with Slackware/Linux, a little bit tested not more.
+Some code is removed, view ./patches (hope the best)
diff --git a/libvirt490/distinfo b/libvirt490/distinfo
new file mode 100644
index 0000000000..e51bf1120e
--- /dev/null
+++ b/libvirt490/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (libvirt-4.9.0.tar.xz) = 68d344295461b78b69dd2c27c42f2d410bc878fc
+RMD160 (libvirt-4.9.0.tar.xz) = 9866b57bbfe31b5b0d86d55b893cd69efdfcf53d
+SHA512 (libvirt-4.9.0.tar.xz) = 3cfada940f9de6cc4b0504e089f41aa03d9986f0163344dd3b3ab8e6c4eb556a56996dc8f24bca913b036862c75b256628ea9ab7674ef0a57b87f47c58689e90
+Size (libvirt-4.9.0.tar.xz) = 14744184 bytes
+SHA1 (patch-linux_virnetdev.c) = 876c30ed8ef0d57390facae128ff92a223f22e48
diff --git a/libvirt490/options.mk b/libvirt490/options.mk
new file mode 100644
index 0000000000..6ffbd7cba6
--- /dev/null
+++ b/libvirt490/options.mk
@@ -0,0 +1,47 @@
+# $NetBSD: options.mk,v 1.4 2016/07/09 12:47:05 rillig Exp $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.libvirt
+
+# Common options.
+PKG_SUPPORTED_OPTIONS+=	xen libssh2 lvm hal dbus avahi
+PKG_SUGGESTED_OPTIONS=	libssh2
+
+.include "../../mk/bsd.options.mk"
+
+# xentools42 is the only version to install
+# the include files
+PLIST_VARS+=	xen hal
+
+# xen means xen 4.2.
+.if !empty(PKG_OPTIONS:Mxen)
+PLIST.xen= yes
+CONFIGURE_ARGS+=	--without-xen
+CONFIGURE_ARGS+=	--with-libxl=${BUILDLINK_PREFIX.xentools42}
+CONFIGURE_ARGS+=	--with-xenapi=${BUILDLINK_PREFIX.xentools42}
+.  include "../../sysutils/xentools42/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mlibssh2)
+CONFIGURE_ARGS+=	--with-ssh2=${BUILDLINK_PREFIX.libssh2}
+.   include "../../security/libssh2/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mlvm)
+CONFIGURE_ARGS+=	--with-storage-lvm
+.endif
+
+.if !empty(PKG_OPTIONS:Mhal)
+PLIST.hal= yes
+CONFIGURE_ARGS+=	--with-hal=${BUILDLINK_PREFIX.hal}
+.   include "../../sysutils/hal/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mdbus)
+CONFIGURE_ARGS+=	--with-dbus=${BUILDLINK_PREFIX.dbus}
+.   include "../../sysutils/dbus/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mavahi)
+CONFIGURE_ARGS+=	--with-avahi=${BUILDLINK_PREFIX.avahi}
+.   include "../../net/avahi/buildlink3.mk"
+.endif
diff --git a/libvirt490/patches/patch-linux_virnetdev.c b/libvirt490/patches/patch-linux_virnetdev.c
new file mode 100644
index 0000000000..b953ef8d0e
--- /dev/null
+++ b/libvirt490/patches/patch-linux_virnetdev.c
@@ -0,0 +1,240 @@
+.if ${OPSYS} == "Linux"
+
+--- ./src/util/virnetdev.c.orig	2018-09-26 13:26:50.985409786 +0200
++++ ./src/util/virnetdev.c	2018-12-02 21:23:12.483507591 +0100
+@@ -3085,217 +3085,6 @@ virNetDevGetEthtoolFeatures(virBitmapPtr
+ # endif
+ }
+ 
+-
+-# if HAVE_DECL_DEVLINK_CMD_ESWITCH_GET
+-
+-/**
+- * virNetDevGetFamilyId:
+- * This function supplies the devlink family id
+- *
+- * @family_name: the name of the family to query
+- *
+- * Returns family id or 0 on failure.
+- */
+-static uint32_t
+-virNetDevGetFamilyId(const char *family_name)
+-{
+-    struct nl_msg *nl_msg = NULL;
+-    struct nlmsghdr *resp = NULL;
+-    struct genlmsghdr gmsgh = {
+-        .cmd = CTRL_CMD_GETFAMILY,
+-        .version = DEVLINK_GENL_VERSION,
+-        .reserved = 0,
+-    };
+-    struct nlattr *tb[CTRL_ATTR_MAX + 1] = {NULL, };
+-    unsigned int recvbuflen;
+-    uint32_t family_id = 0;
+-
+-    if (!(nl_msg = nlmsg_alloc_simple(GENL_ID_CTRL,
+-                                      NLM_F_REQUEST | NLM_F_ACK))) {
+-        virReportOOMError();
+-        goto cleanup;
+-    }
+-
+-    if (nlmsg_append(nl_msg, &gmsgh, sizeof(gmsgh), NLMSG_ALIGNTO) < 0)
+-        goto cleanup;
+-
+-    if (nla_put_string(nl_msg, CTRL_ATTR_FAMILY_NAME, family_name) < 0) {
+-        virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+-                       _("allocated netlink buffer is too small"));
+-        goto cleanup;
+-    }
+-
+-    if (virNetlinkCommand(nl_msg, &resp, &recvbuflen, 0, 0, NETLINK_GENERIC, 0) < 0)
+-        goto cleanup;
+-
+-    if (nlmsg_parse(resp, sizeof(struct nlmsghdr), tb, CTRL_ATTR_MAX, NULL) < 0) {
+-        virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+-                       _("malformed netlink response message"));
+-        goto cleanup;
+-    }
+-
+-    if (tb[CTRL_ATTR_FAMILY_ID] == NULL)
+-        goto cleanup;
+-
+-    family_id = *(uint32_t *)RTA_DATA(tb[CTRL_ATTR_FAMILY_ID]);
+-
+- cleanup:
+-    nlmsg_free(nl_msg);
+-    VIR_FREE(resp);
+-    return family_id;
+-}
+-
+-
+-/**
+- * virNetDevSwitchdevFeature
+- * This function checks for the availability of Switchdev feature
+- * and add it to bitmap
+- *
+- * @ifname: name of the interface
+- * @out: add Switchdev feature if exist to bitmap
+- *
+- * Returns 0 on success, -1 on failure.
+- */
+-static int
+-virNetDevSwitchdevFeature(const char *ifname,
+-                          virBitmapPtr *out)
+-{
+-    struct nl_msg *nl_msg = NULL;
+-    struct nlmsghdr *resp = NULL;
+-    unsigned int recvbuflen;
+-    struct nlattr *tb[DEVLINK_ATTR_MAX + 1] = {NULL, };
+-    virPCIDevicePtr pci_device_ptr = NULL;
+-    struct genlmsghdr gmsgh = {
+-        .cmd = DEVLINK_CMD_ESWITCH_GET,
+-        .version = DEVLINK_GENL_VERSION,
+-        .reserved = 0,
+-    };
+-    const char *pci_name;
+-    char *pfname = NULL;
+-    int is_vf = -1;
+-    int ret = -1;
+-    uint32_t family_id;
+-
+-    if ((family_id = virNetDevGetFamilyId(DEVLINK_GENL_NAME)) <= 0)
+-        return ret;
+-
+-    if ((is_vf = virNetDevIsVirtualFunction(ifname)) < 0)
+-        return ret;
+-
+-    if (is_vf == 1 && virNetDevGetPhysicalFunction(ifname, &pfname) < 0)
+-        goto cleanup;
+-
+-    pci_device_ptr = pfname ? virNetDevGetPCIDevice(pfname) :
+-                              virNetDevGetPCIDevice(ifname);
+-    /* No PCI device, then no feature bit to check/add */
+-    if (pci_device_ptr == NULL) {
+-        ret = 0;
+-        goto cleanup;
+-    }
+-
+-    if (!(nl_msg = nlmsg_alloc_simple(family_id,
+-                                      NLM_F_REQUEST | NLM_F_ACK))) {
+-        virReportOOMError();
+-        goto cleanup;
+-    }
+-
+-    if (nlmsg_append(nl_msg, &gmsgh, sizeof(gmsgh), NLMSG_ALIGNTO) < 0)
+-        goto cleanup;
+-
+-    pci_name = virPCIDeviceGetName(pci_device_ptr);
+-
+-    if (nla_put(nl_msg, DEVLINK_ATTR_BUS_NAME, strlen("pci")+1, "pci") < 0 ||
+-        nla_put(nl_msg, DEVLINK_ATTR_DEV_NAME, strlen(pci_name)+1, pci_name) < 0) {
+-        virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+-                       _("allocated netlink buffer is too small"));
+-        goto cleanup;
+-    }
+-
+-    if (virNetlinkCommand(nl_msg, &resp, &recvbuflen, 0, 0, NETLINK_GENERIC, 0) < 0)
+-        goto cleanup;
+-
+-    if (nlmsg_parse(resp, sizeof(struct genlmsghdr), tb, DEVLINK_ATTR_MAX, NULL) < 0) {
+-        virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
+-                       _("malformed netlink response message"));
+-        goto cleanup;
+-    }
+-
+-    if (tb[DEVLINK_ATTR_ESWITCH_MODE] &&
+-        *(int *)RTA_DATA(tb[DEVLINK_ATTR_ESWITCH_MODE]) == DEVLINK_ESWITCH_MODE_SWITCHDEV) {
+-        ignore_value(virBitmapSetBit(*out, VIR_NET_DEV_FEAT_SWITCHDEV));
+-    }
+-
+-    ret = 0;
+-
+- cleanup:
+-    nlmsg_free(nl_msg);
+-    virPCIDeviceFree(pci_device_ptr);
+-    VIR_FREE(resp);
+-    VIR_FREE(pfname);
+-    return ret;
+-}
+-# else
+-static int
+-virNetDevSwitchdevFeature(const char *ifname ATTRIBUTE_UNUSED,
+-                          virBitmapPtr *out ATTRIBUTE_UNUSED)
+-{
+-    return 0;
+-}
+-# endif
+-
+-
+-# if HAVE_DECL_ETHTOOL_GFEATURES
+-/**
+- * virNetDevGFeatureAvailable
+- * This function checks for the availability of a network device gfeature
+- *
+- * @fd: socket to operate on
+- * @ifr: struct ifreq with the command
+- * @cmd: reference to an ethtool command structure
+- *
+- * Returns true if the feature is available, false otherwise.
+- */
+-static bool
+-virNetDevGFeatureAvailable(int fd,
+-                           struct ifreq *ifr,
+-                           struct ethtool_gfeatures *cmd)
+-{
+-    ifr->ifr_data = (void*)cmd;
+-    if (virNetDevSendEthtoolIoctl(fd, ifr) == 0)
+-        return !!FEATURE_BIT_IS_SET(cmd->features, TX_UDP_TNL, active);
+-    return false;
+-}
+-
+-
+-static int
+-virNetDevGetEthtoolGFeatures(virBitmapPtr bitmap,
+-                             int fd,
+-                             struct ifreq *ifr)
+-{
+-    struct ethtool_gfeatures *g_cmd;
+-
+-    if (VIR_ALLOC_VAR(g_cmd,
+-                      struct ethtool_get_features_block, GFEATURES_SIZE) < 0)
+-        return -1;
+-
+-    g_cmd->cmd = ETHTOOL_GFEATURES;
+-    g_cmd->size = GFEATURES_SIZE;
+-    if (virNetDevGFeatureAvailable(fd, ifr, g_cmd))
+-        ignore_value(virBitmapSetBit(bitmap, VIR_NET_DEV_FEAT_TXUDPTNL));
+-    VIR_FREE(g_cmd);
+-    return 0;
+-}
+-# else
+-static int
+-virNetDevGetEthtoolGFeatures(virBitmapPtr bitmap ATTRIBUTE_UNUSED,
+-                             int fd ATTRIBUTE_UNUSED,
+-                             struct ifreq *ifr ATTRIBUTE_UNUSED)
+-{
+-    return 0;
+-}
+-# endif
+-
+-
+ # if HAVE_DECL_ETHTOOL_SCOALESCE && HAVE_DECL_ETHTOOL_GCOALESCE
+ /**
+  * virNetDevSetCoalesce:
+@@ -3433,15 +3222,9 @@ virNetDevGetFeatures(const char *ifname,
+ 
+     virNetDevGetEthtoolFeatures(*out, fd, &ifr);
+ 
+-    if (virNetDevGetEthtoolGFeatures(*out, fd, &ifr) < 0)
+-        return -1;
+-
+     if (virNetDevRDMAFeature(ifname, out) < 0)
+         return -1;
+ 
+-    if (virNetDevSwitchdevFeature(ifname, out) < 0)
+-        return -1;
+-
+     return 0;
+ }
+ #else
+
+.endif


Home | Main Index | Thread Index | Old Index