Re: [Qemu-devel] [PATCH 02/22] qerror: expose a function to format an error

2011-03-07 Thread Anthony Liguori
On 03/07/2011 05:14 AM, Stefan Hajnoczi wrote: On Mon, Mar 7, 2011 at 1:22 AM, Anthony Liguori wrote: This will let Error share the QError human formatting. This is only used for HMP. Signed-off-by: Anthony Liguori diff --git a/qerror.c b/qerror.c index 4855604..13d53c9 100644 --- a/qerr

Re: [Qemu-devel] [PATCH 02/22] qerror: expose a function to format an error

2011-03-07 Thread Stefan Hajnoczi
On Mon, Mar 7, 2011 at 1:22 AM, Anthony Liguori wrote: > This will let Error share the QError human formatting.  This is only used for > HMP. > > Signed-off-by: Anthony Liguori > > diff --git a/qerror.c b/qerror.c > index 4855604..13d53c9 100644 > --- a/qerror.c > +++ b/qerror.c > @@ -326,12 +326

[Qemu-devel] [PATCH 02/22] qerror: expose a function to format an error

2011-03-06 Thread Anthony Liguori
This will let Error share the QError human formatting. This is only used for HMP. Signed-off-by: Anthony Liguori diff --git a/qerror.c b/qerror.c index 4855604..13d53c9 100644 --- a/qerror.c +++ b/qerror.c @@ -326,12 +326,18 @@ QError *qerror_from_info(const char *file, int linenr, const char