Anthony Liguori
2006-Mar-23 20:25 UTC
[Xen-devel] [PATCH] Fixup a couple of problems with XML-RPC error handling
This fixes a number of problems introduces in the recent XML-RPC check-in. The higher level errors are a great idea and I''ve also extended it a bit to have a slightly nicer interface. Please apply. Regards, Anthony Liguori _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ewan Mellor
2006-Mar-24 13:40 UTC
[Xen-devel] Re: [PATCH] Fixup a couple of problems with XML-RPC error handling
On Thu, Mar 23, 2006 at 02:25:54PM -0600, Anthony Liguori wrote:> This fixes a number of problems introduces in the recent XML-RPC > check-in. The higher level errors are a great idea and I''ve also > extended it a bit to have a slightly nicer interface. Please apply. > > Regards, > > Anthony Liguori> # HG changeset patch > # User anthony@rhesis.austin.ibm.com > # Node ID e4c39bd3fb27129532d55f7bb30c800143b390b3 > # Parent 8f722ac17efa4ba84eb6c678c7f33dab82fceb3e > 1) Introduce new exception type XendInvalidDomain that maps to the high level > XEND_INVALID_DOMAIN faultType. > 2) Fix exception logic in XMLRPCServer > 3) Fix TCP server > 4) Remove catching of ProtocolError in main.py. ProtocolErrors only occur > when there is an exception in the exception handling code which shouldn''t > ever happen. I''ve reproduced the error cases described by Ewan with > xend_domain_setTargetMemory and once I fixed the exception logic, I get a > normal faultType of 1 as would be expected. > > Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>Applied, thank you. Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel