WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH 0/4] Add support for XML-RPC over SSH (take two)

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH 0/4] Add support for XML-RPC over SSH (take two)
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Tue, 20 Jun 2006 16:07:54 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 20 Jun 2006 14:09:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060620124943.GA11609@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <44906357.90107@xxxxxxxxxx> <20060620092639.GA11908@xxxxxxxxxxxxxxxxxxxxxx> <20060620124943.GA11609@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060612)
Ewan Mellor wrote:
On Tue, Jun 20, 2006 at 10:26:39AM +0100, Ewan Mellor wrote:

On Wed, Jun 14, 2006 at 02:28:23PM -0500, Anthony Liguori wrote:

This series is a repost of the previous series taking into account Ewan's feedback wrt error reporting. Additionally, to make things a bit saner, I changed the ssh invocation from being always done in the ctor to being done on demand. This means that xm commands like help won't actually require a password if the ssh transport is being used.

I've also included the HTTP/1.1 Keep-Alive patch as it's required for this patch set.
I've applied this whole set.  Thanks Anthony.  Could we have some
documentation patches too?

I've just noticed that these patches only work on Python 2.4, because they use
subprocess.  I've split SSHTransport out to its own file (which is reasonable
in it's own right anyway), and if the import fails, it now disables the
XML-RPC over SSH altogether.

Ah, sorry, didn't realize that.

If there's anyone out there who wants XML-RPC over SSH on Python 2.3, then a
patch that used popen2.popen2 or xen.util.xpopen.xPopen3 instead of
subprocess.Popen would be welcome.

I'll put this on my TODO. For future reference, what are the official versions of Python that we support and do you happen to know which distros have the older versions?

Regards,

Anthony Liguori

Ewan.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel