How the libvirtd connect to qemud in source codes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
    I meet a question when reading the libvirt source codes. Could you help me? Coz I plan to link libvirt to a Android Emulator based on QEMU, knowing how the libvirtd connect to qemud is important. I trace the code as following:
    libvirtd.c contains all the initilization of libvirt daemon, then calling function named qemuRegister to qemu_driver.c which contains three methods:
int qemuRegister(void) {                                                                                      
virRegisterDriver(&qemuDriver);                                                                           
virRegisterStateDriver(&qemuStateDriver);                                                                 
virNWFilterRegisterCallbackDriver(&qemuCallbackDriver);                                                   
return 0;                                                                                                 
 }    

In qemuDriver, I find a function --qemudOpen which, I guess, contains the method what I want. But I failed to find right messages. Could you please give me some tips? I guess there has got to contain related interfaces to connect between libvirt and qemu. 
     Thanks a lot!
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux