Read the documentation in qemu-doc.html. Fabrice Bellard.
Libvirt provides a portable, long term stable C API for managing the virtualization technologies provided by many operating systems.