Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The library aims at providing a long term stable C API initially for the Xen paravirtualization but since ported to other virtualization technologies, QEmu and KVM.