You need to sign in or sign up before continuing.
  • D
    libvirt: pass a directory path into drivers for embedded usage · 207709a0
    Daniel P. Berrangé 提交于
    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: NMichal Privoznik <mprivozn@redhat.com>
    Reviewed-by: NCole Robinson <crobinso@redhat.com>
    Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
    207709a0
interface_backend_netcf.c 35.7 KB