<div dir="ltr">Thanks Mr. Berrange & Mr.Veillard for your replies,<br><br>I was trying to connect to Xend directly without going through libvirt so was curious to know changes that have been made by Red Hat on the Xen Daemon end to support libvirt.<br>
<br>I read the source code of libvirt last night and figured out there is a function xenDaemonOpen() is being used to do the work I was looking for and there is no password checking being done. I will try to figure out stuff about SEXPR RPC to get my stuff working.<br>
<br>I am sorry for the multiple post thing, it happened because I had posted the first email from a different email address which was not registered on the list serv.<br><br>Thanks again<br>Vaibhav<br><br><div class="gmail_quote">
On Thu, Aug 21, 2008 at 1:12 AM, Daniel P. Berrange <span dir="ltr"><<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wed, Aug 20, 2008 at 03:34:38PM -0700, vaibhav chugh wrote:<br>
</div><div class="Ih2E3d">> Thanks a lot for the reply. I checked the setting in my config file and they<br>
> look correct as specified by the webpage. I am able to connect to the unix<br>
> socket but my login to xend is failing.<br>
<br>
</div>Urm, there is no 'login' process with the SEXPR RPC mechanism libvirt<br>
uses, so I'm not exactly sure what's failing. Could you proivide the<br>
actual error messages you get when using libvirt with Xen ?<br>
<div class="Ih2E3d"><br>
> What I am looking for is the exact function call that is made by libvirt to<br>
> connect to xen daemon. i.e. the function that makes libvirt send out xml RPC<br>
> message for xend to read.<br>
><br>
> session.login_with_password() is not supported by xenAPI version being used<br>
> in Red Hat. Please help me with the substitute of this method in Red Hat.<br>
<br>
</div>libvirt does not use Xen-API. We use the SEXPR RPC mechanism. As such we<br>
never call login_with_password()<br>
<div><div></div><div class="Wj3C7c"><br>
Daniel<br>
--<br>
|: Red Hat, Engineering, London   -o-   <a href="http://people.redhat.com/berrange/" target="_blank">http://people.redhat.com/berrange/</a> :|<br>
|: <a href="http://libvirt.org" target="_blank">http://libvirt.org</a>  -o-  <a href="http://virt-manager.org" target="_blank">http://virt-manager.org</a>  -o-  <a href="http://ovirt.org" target="_blank">http://ovirt.org</a> :|<br>

|: <a href="http://autobuild.org" target="_blank">http://autobuild.org</a>       -o-         <a href="http://search.cpan.org/%7Edanberr/" target="_blank">http://search.cpan.org/~danberr/</a> :|<br>
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Vaibhav Chugh<br>
</div>