Read the documentation in qemu-doc.html or on http://wiki.qemu.org - QEMU team
Libvirt provides a portable, long term stable C API for managing the virtualization technologies provided by many operating systems.