Thanks a lot for the reply. I checked the setting in my config file and they look correct as specified by the webpage. I am able to connect to the unix socket but my login to xend is failing.

What I am looking for is the exact function call that is made by libvirt to connect to xen daemon. i.e. the function that makes libvirt send out xml RPC message for xend to read.

session.login_with_password() is not supported by xenAPI version being used in Red Hat. Please help me with the substitute of this method in Red Hat.

Thanks
Vaibhav






On Wed, Aug 20, 2008 at 10:18 AM, Daniel P. Berrange <berrange@redhat.com> wrote:
On Wed, Aug 20, 2008 at 10:15:49AM -0700, vaibhav chugh wrote:
> Hi,
>
> I am new to libvirt and I am trying to figure out that how libvert connects
> to Xend in Red Hat Enterprise with virtualization. I read a few posts but
> was not able to find this out.
>
> The eariler versions of Xen were using xen_session_login_with_password()
> function call to connect to Xen daemon but I am not able to find anything
> similar to this in libvirt.

Libvirt talks to XenD using its UNIX socket, and SEXPR interface. This
page gives a quick list of config settings you need in XenD to make it
work with libvirt:

 http://libvirt.org/drvxen.html

Daniel
--
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|



--
Vaibhav Chugh