Yung Giang
2007-Feb-28 21:47 UTC
[Xen-devel] Xend domain_lookup XendInvalidDomain error reporting patch
Hi,
The error reporting when a domain is invalid is currently XendError (raise
XendError("No domain named ''%s''." % str(domid))),
this should really be
XendInvaildDomain (raise XendInvalidDomain ("No domain named
''%s''." %
str(domid)) for the correct Xend error reporting. And since Xend is already
raising XendInvaildDomain exception in the domain_lookup function we
don''t
need check the same exception again in functions that use domain_lookup.
Here is the patch that should fix this problem, please take a look. Thanks!
-Yung Giang
ygiang@gmail.com <yung.giang@gmail.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel