<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<div> 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:</div><div> libvirtd.c contains all the initilization of libvirt daemon, then calling function named qemuRegister to qemu_driver.c which contains three methods:</div><div><div>int qemuRegister(void) { </div><div>virRegisterDriver(&qemuDriver); </div><div>virRegisterStateDriver(&qemuStateDriver); </div><div>virNWFilterRegisterCallbackDriver(&qemuCallbackDriver); </div><div>return 0; </div><div> } </div></div><div><br></div><div>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. </div><div> Thanks a lot!</div> </div></body>
</html>