Glauber de Oliveira Costa
2006-Oct-23 19:35 UTC
[Xen-devel] [PATCH][RESEND] Better error reporting in config file parsing errors
Hello, I lost some time today using xm create, while invoking ''xm create cfg'', because I accidentally had a file called ''cfg'' in my current working directory. As the error dumping refers only to ''cfg'', it revealed itself somehow tricky to figure out. I''m attaching a patch that informs the complete path of the file being processing, besides giving a more complete error message that would give more valuable input to help finding any issues. Comments very welcome. -- Glauber de Oliveira Costa Red Hat Inc. "Free as in Freedom" _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Glauber de Oliveira Costa
2006-Oct-25 13:43 UTC
[Xen-devel] [PATCH][RESEND] Better error reporting in config file parsing errors
Hello, I lost some time today using xm create, while invoking ''xm create cfg'', because I accidentally had a file called ''cfg'' in my current working directory. As the error dumping refers only to ''cfg'', it revealed itself somehow tricky to figure out. I''m attaching a patch that informs the complete path of the file being processing, besides giving a more complete error message that would give more valuable input to help finding any issues. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> -- Glauber de Oliveira Costa Red Hat Inc. "Free as in Freedom" _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Oct-25 14:03 UTC
Re: [Xen-devel] [PATCH][RESEND] Better error reporting in config file parsing errors
On 25/10/06 14:43, "Glauber de Oliveira Costa" <gcosta@redhat.com> wrote:> I lost some time today using xm create, while invoking ''xm create cfg'', > because I accidentally had a file called ''cfg'' in my current working > directory. As the error dumping refers only to ''cfg'', it revealed itself > somehow tricky to figure out. > > I''m attaching a patch that informs the complete path of the file being > processing, besides giving a more complete error message that would give > more valuable input to help finding any issues. > > Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>Already applied. K. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel