Jim Fehlig
2006-Nov-14 23:34 UTC
[Xen-devel] [PATCH] [xend] Fix casing of various functions in XendAPI class
I have been unable to execute many of the new Xen API RPCs, such as host.get_resident_VMs(), host.get_host_CPUs(), etc. I have tracked this down to some casing issues in class XendAPI. This patch removes the lower-casing of class attribute names in the initialization method of XendAPI and fixes any discrepancies between the attribute names and corresponding method definitions. With this patch I am now able to execute (via libxen) many of the RPCs that previously did not work. An alternative approach would be to preserve the lower-casing in XendAPI initialization method and change all of the attribute names and corresponding method definitions to lower-case. I can rework the path if this is the desired approach. Regards, Jim _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ewan Mellor
2006-Nov-28 16:37 UTC
Re: [Xen-devel] [PATCH] [xend] Fix casing of various functions in XendAPI class
On Tue, Nov 14, 2006 at 04:34:04PM -0700, Jim Fehlig wrote:> # HG changeset patch > # User jfehlig@jfehlig2.provo.novell.com > # Date 1163543801 25200 > # Node ID 834714f9e61c474546d1fabf4ce1e580345bd1d2 > # Parent 9a341c6ef6ae2ce90ccdcf89718d4365426d9d96 > Fix casing of various functions in XendAPI class. > > Signed-off-by: Jim Fehlig <jfehlig@novell.com>Applied, thanks Jim. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel