[Libvir] remote access ?

Daniel P. Berrange berrange at redhat.com
Thu Oct 4 16:34:04 UTC 2007

On Thu, Oct 04, 2007 at 12:27:38PM -0400, Mark Johnson wrote:
> I was looking through some of the remote code.. I was wondering
> if a 32-bit virsh client is supposed to be able to connect to a 64-bit
> libvirtd?

Yes. The wire protocol is 32/64 invariant.

> The reason I ask is because I saw some references to longs..
> For example, in xdr_remote_node_get_info_ret()

I must admit to being puzzelled as to why rpcgen decided to use
IXDR_GET_LONG there. All the rest of the code in that function is
using int, and the protocol is defined to be int.

Are you actually seeing failures when doing 32 -> 64 remote connections
or vica-verca ?

|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

More information about the libvir-list mailing list