libvirt/m4
Jonathon Jongsma 9691440ecb nodedev: add mdev support to virNodeDeviceCreateXML()
With recent additions to the node device xml schema, an xml schema can
now describe a mdev device sufficiently for libvirt to create and start
the device using the mdevctl utility.

Note that some of the the configuration for a mediated device must be
passed to mdevctl as a JSON-formatted file. In order to avoid creating
and cleaning up temporary files, the JSON is instead fed to stdin and we
pass the filename /dev/stdin to mdevctl. While this may not be portable,
neither are mediated devices, so I don't believe it should cause any
problems.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-06-19 10:39:55 +02:00
..
virt-acl.m4 m4: Fix missing with_acl variable 2017-05-26 11:37:44 +02:00
virt-apparmor.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-arg.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-attr.m4 Fix include for xattr.h 2018-08-06 11:50:53 +02:00
virt-audit.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-bash-completion.m4 m4: Don't enable bash-completion by default 2018-01-12 10:43:30 +01:00
virt-blkid.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-capng.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-chrdev-lock-files.m4 configure: Prefer LIBVIRT_RESULT over AC_MSG_NOTICE 2019-09-12 12:12:54 +02:00
virt-compile-pie.m4 src: remove all traces of Cygwin support 2020-01-29 14:51:40 +00:00
virt-compile-warnings.m4 gnulib: delete all gnulib integration 2020-02-07 15:03:54 +00:00
virt-curl.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-dbus.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-debug.m4 configure: Prefer LIBVIRT_RESULT over AC_MSG_NOTICE 2019-09-12 12:12:54 +02:00
virt-default-editor.m4 configure: Prefer LIBVIRT_RESULT over AC_MSG_NOTICE 2019-09-12 12:12:54 +02:00
virt-devmapper.m4 m4/virt-devmapper: use LIBVIRT_CHECK_(PKG|LIB) 2016-12-21 15:39:39 +01:00
virt-dlopen.m4 configure: move dlopen check to its own file 2016-12-21 15:39:38 +01:00
virt-driver-bhyve.m4 build: drop the getopt-posix gnulib module 2019-10-07 11:34:24 +01:00
virt-driver-esx.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-hyperv.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-interface.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-libvirtd.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-libxl.m4 m4: libxl: properly fail when libxl is required 2020-02-20 22:30:45 +01:00
virt-driver-lxc.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-modules.m4 make: Drop building without driver modules 2017-07-27 12:00:35 +02:00
virt-driver-network.m4 Fix spelling for macOS 2019-04-15 11:09:10 +02:00
virt-driver-openvz.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-qemu.m4 qemu-conf: add configurable dbus-daemon location 2020-03-24 15:57:33 +01:00
virt-driver-remote.m4 remote: enable connecting to the per-driver daemons 2019-08-09 14:06:31 +01:00
virt-driver-test.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-vbox.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-vmware.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-driver-vz.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-dtrace.m4 configure: Prefer LIBVIRT_RESULT over AC_MSG_NOTICE 2019-09-12 12:12:54 +02:00
virt-external-programs.m4 nodedev: add mdev support to virNodeDeviceCreateXML() 2020-06-19 10:39:55 +02:00
virt-firewalld-zone.m4 configure: selectively install a firewalld 'libvirt' zone 2019-02-01 12:08:37 -05:00
virt-firewalld.m4 configure: change HAVE_FIREWALLD to WITH_FIREWALLD 2019-02-01 12:08:37 -05:00
virt-fuse.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-glib.m4 src: replace WSAStartup with g_networking_init() 2020-01-03 15:42:13 +00:00
virt-gluster.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-gnutls.m4 configure: Require GnuTLS 2018-06-05 14:32:03 +02:00
virt-hal.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-host-validate.m4 configure: Prefer LIBVIRT_RESULT over AC_MSG_NOTICE 2019-09-12 12:12:54 +02:00
virt-init-script.m4 configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virt-lib.m4 m4/virt-arg: Move LIBVIRT_ARG_* macros to their own file 2016-12-22 15:20:05 +01:00
virt-libiscsi.m4 configure: Introduce libiscsi in build system 2018-08-06 12:23:55 +02:00
virt-libnl.m4 m4: virt-libnl: drop libnl-1.0 support 2019-10-23 14:30:47 +02:00
virt-libpcap.m4 libpcap: Bump the minimum required version to >= 1.5.0 2020-01-30 16:30:12 +01:00
virt-libssh.m4 rpc: virnetlibsshsession: update deprecated functions 2019-06-21 09:49:24 +02:00
virt-libxml.m4 m4: Drop libxml2 version number from configure help 2019-08-12 09:31:22 +02:00
virt-linker-no-indirect.m4 Check for --no-copy-dt-needed linker flag 2013-08-22 16:17:36 +02:00
virt-linker-no-undefined.m4 build: passing the "-z defs" linker flag to prevent undefined symbols 2018-02-09 11:05:10 +00:00
virt-linker-relro.m4 Simplify RELRO_LDFLAGS 2013-08-22 16:17:35 +02:00
virt-loader-nvram.m4 qemu: Warn verbosely if using old loader:nvram pairs 2019-11-12 08:34:37 +01:00
virt-login-shell.m4 configure: Prefer LIBVIRT_RESULT over AC_MSG_NOTICE 2019-09-12 12:12:54 +02:00
virt-macvtap.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-manywarnings.m4 bootstrap: remove 26 more gnulib modules 2020-01-17 10:03:26 +00:00
virt-netcf.m4 m4: virt-netcf: bump minimal version to 0.1.8 2019-10-23 14:30:49 +02:00
virt-nls.m4 m4: Improve portability for non-bash shells 2019-10-22 11:39:38 +02:00
virt-nss.m4 Revert "Switch from yajl to Jansson" 2018-08-13 15:50:01 +02:00
virt-numactl.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-numad.m4 configure: Prefer LIBVIRT_RESULT over AC_MSG_NOTICE 2019-09-12 12:12:54 +02:00
virt-nwfilter.m4 configure: move nwfilter check to its own file 2016-12-21 15:39:39 +01:00
virt-openwsman.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-parted.m4 m4/virt-parted: use LIBVIRT_CHECK_PKG 2016-12-21 15:39:40 +01:00
virt-pciaccess.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-pm-utils.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-polkit.m4 m4: disable polkit build on Windows 2020-01-29 14:51:40 +00:00
virt-pthread.m4 m4: add check for pthread library 2020-02-04 14:00:45 +00:00
virt-readline.m4 m4: readline: Add gross kludge for include path 2019-04-12 16:22:32 +02:00
virt-result.m4 Revert "virt-result.m4: Colourize summary printings" 2019-09-19 14:31:15 +02:00
virt-sanlock.m4 locking: Add support for sanlock_strerror 2017-04-27 11:44:11 +02:00
virt-sasl.m4 m4: sasl: Use pkg-config 2019-04-12 09:16:08 +02:00
virt-secdriver-apparmor.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-secdriver-selinux.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-selinux.m4 m4: virt-selinux: remove obsolete checks 2019-10-23 14:30:50 +02:00
virt-ssh2.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-dir.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-disk.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-fs.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-gluster.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-iscsi-direct.m4 storage: Implement iscsi_direct pool backend 2018-08-06 12:23:55 +02:00
virt-storage-iscsi.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-lvm.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-mpath.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-rbd.m4 storage: add support for new rbd_list2 method 2019-03-18 15:21:10 +00:00
virt-storage-scsi.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-sheepdog.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-storage-vstorage.m4 configure: Fix copy-paste error in vstorage backend check 2017-01-27 10:37:56 +01:00
virt-storage-zfs.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-sysctl.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-tls-priority.m4 configure: fix indentation in TLS priority result 2017-01-24 17:24:14 +01:00
virt-udev.m4 build: drop check for udev_monitor_set_receive_buffer_size 2019-05-16 16:39:46 +02:00
virt-virtualport.m4 m4/virt-arg: Rename LIBVIRT_ARG_WITH* macros 2016-12-22 15:20:05 +01:00
virt-warnings.m4 bootstrap: remove 26 more gnulib modules 2020-01-17 10:03:26 +00:00
virt-win-common.m4 src: remove all traces of Cygwin support 2020-01-29 14:51:40 +00:00
virt-win-mingw.m4 configure: move MinGW check to its own file 2016-12-21 15:39:39 +01:00
virt-win-symbols.m4 src: remove all traces of Cygwin support 2020-01-29 14:51:40 +00:00
virt-win-windres.m4 src: remove all traces of Cygwin support 2020-01-29 14:51:40 +00:00
virt-wireshark.m4 tools: Drop support for pre-2.4.0 wireshark 2019-02-12 09:22:59 +01:00
virt-xdr.m4 src: remove all traces of Cygwin support 2020-01-29 14:51:40 +00:00
virt-yajl.m4 m4: Fix check for yajl.pc 2019-07-08 12:01:27 +02:00