Libvirt provides a portable, long term stable C API for managing the virtualization technologies provided by many operating systems.