libvirt/src/interface
Daniel P. Berrangé 207709a031 libvirt: pass a directory path into drivers for embedded usage
The intent here is to allow the virt drivers to be run directly embedded
in an arbitrary process without interfering with libvirtd. To achieve
this they need to store all their configuration & state in a separate
directory tree from the main system or session libvirtd instances.

This can be useful for doing testing of the virt drivers in "make check"
without interfering with the user's own libvirtd instances.

It can also be used for applications using KVM/QEMU as a piece of
infrastructure to build an service, rather than for general purpose
OS hosting. A long standing example is libguestfs, which would prefer
if its temporary VMs did show up in the main libvirtd VM list, because
this confuses apps such as OpenStack Nova. A more recent example would
be Kata which is using KVM as a technology to build containers.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-01-27 11:02:16 +00:00
..
interface_backend_netcf.c libvirt: pass a directory path into drivers for embedded usage 2020-01-27 11:02:16 +00:00
interface_backend_udev.c libvirt: pass a directory path into drivers for embedded usage 2020-01-27 11:02:16 +00:00
interface_driver.c Use K&R style for curly braces in remaining files 2014-03-20 17:27:17 +01:00
interface_driver.h src/interface: use #pragma once in headers 2019-06-13 17:05:09 +02:00
Makefile.inc.am configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtinterfaced.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtinterfaced.service.in interface: introduce virtinterfaced daemon 2019-08-09 14:06:31 +01:00