[libvirt] how libvirt communicate with qemu?

yue libvirt at 163.com
Sun Oct 21 09:42:41 UTC 2012


i am reading source code, begin with tracing simple command line ,like virsh list and forth.
please look at my qurestions
1.how libvirt communicate with qemu?
call qemu'lib or open special device/socket?
 
2. i do not find the implement of function qemuAgentOpen---->qemuAgentInitialize().
i also search qemu-kvm source
 
3. qemuListAllDomains  is the function which corespond to virsh-list.   please explain this function .
 virDomainList(conn, driver->domains.objs, domains, flags);
 i) it seems driver->domains.objs  have gotten all dmains.   so when and where   driver->domains.objs   is  assigned.
ii)and what is conn,and its definition?
 
thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121021/d21c4d81/attachment-0001.htm>


More information about the libvir-list mailing list