
On Thu, Oct 04, 2007 at 05:34:04PM +0100, Daniel P. Berrange wrote:
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 ?
FYI, I completely forgot, but I am actually using 32- > 64 on a regular basis. My laptop is 32-bit and I'm using virt-manager to remotely access 64-bit hosts using both SSH + TLS data transports Dan. -- |=- 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 -=|