libvirt/src/lxc
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
..
libvirtd_lxc.aug
lxc_cgroup.c lxc: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
lxc_cgroup.h
lxc_conf.c lxc: Refresh capabilities if they have never been initalized 2019-12-10 10:12:48 -05:00
lxc_conf.h conf: don't use passed in caps in post parse method 2019-12-09 10:15:16 +00:00
lxc_container.c lxc: remove unneeded labels 2020-01-07 16:40:41 +01:00
lxc_container.h
lxc_controller.c lxc: remove unneeded labels 2020-01-07 16:40:41 +01:00
lxc_domain.c conf: drop virCapsPtr param from device post parse callback 2019-12-09 10:17:27 +00:00
lxc_domain.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
lxc_driver.c libvirt: pass a directory path into drivers for embedded usage 2020-01-27 11:02:16 +00:00
lxc_driver.h
lxc_fuse.c lxc: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
lxc_fuse.h
lxc_hostdev.c
lxc_hostdev.h
lxc_monitor_protocol.x
lxc_monitor.c lxc: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
lxc_monitor.h
lxc_native.c conf: add xmlopt to virDomainFSDefNew 2020-01-08 09:51:00 +01:00
lxc_native.h
lxc_process.c util: replace atomic ops impls with g_atomic_int* 2020-01-17 10:02:00 +00:00
lxc_process.h lxc: Cleanup virConnectPtr usage 2019-12-17 16:58:43 +01:00
lxc.conf
Makefile.inc.am configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
test_libvirtd_lxc.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
virtlxcd.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtlxcd.service.in lxc: introduce virtlxcd daemon 2019-08-09 14:06:31 +01:00