[libvirt] Libvirt Xen daemon interaction in Red Hat Enterprise with virtualization

Daniel P. Berrange berrange at redhat.com
Thu Aug 21 08:12:14 UTC 2008


On Wed, Aug 20, 2008 at 03:34:38PM -0700, vaibhav chugh wrote:
> 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.

Urm, there is no 'login' process with the SEXPR RPC mechanism libvirt
uses, so I'm not exactly sure what's failing. Could you proivide the 
actual error messages you get when using libvirt with Xen ?

> 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.

libvirt does not use Xen-API. We use the SEXPR RPC mechanism. As such we
never call login_with_password()

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 :|




More information about the libvir-list mailing list