[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH 10/11] Add a QObject JSON wrapper
From: |
Luiz Capitulino |
Subject: |
Re: [Qemu-devel] Re: [PATCH 10/11] Add a QObject JSON wrapper |
Date: |
Wed, 11 Nov 2009 17:58:10 -0200 |
On Wed, 11 Nov 2009 13:39:29 -0600
Anthony Liguori <address@hidden> wrote:
> Luiz Capitulino wrote:
> > I think we should abort() on error, assuming the only way to fail
> > is a bad syntax.
> >
>
> We'll be using qobject_from_jsonf() to parse incoming QMP traffic. We
> definitely don't want to abort when we receive invalid input on the QMP
> port. Best to just close the session and let the user connect again.
Sure, I just wouldn't like to add a check on every handler call to
qobject_from_jsonf().
What about a new wrapper?
- Re: [Qemu-devel] [PATCH 02/11] Add operations to qlist to allow it to be used as a stack, (continued)
- Re: [Qemu-devel] [PATCH 02/11] Add operations to qlist to allow it to be used as a stack, Anthony Liguori, 2009/11/12
- Re: [Qemu-devel] [PATCH 02/11] Add operations to qlist to allow it to be used as a stack, Kevin Wolf, 2009/11/12
- Re: [Qemu-devel] [PATCH 02/11] Add operations to qlist to allow it to be used as a stack, Anthony Liguori, 2009/11/12
- Re: [Qemu-devel] [PATCH 02/11] Add operations to qlist to allow it to be used as a stack, Luiz Capitulino, 2009/11/12
- Re: [Qemu-devel] [PATCH 02/11] Add operations to qlist to allow it to be used as a stack, Kevin Wolf, 2009/11/13
- Re: [Qemu-devel] [PATCH 02/11] Add operations to qlist to allow it to be used as a stack, Ian Molton, 2009/11/12
[Qemu-devel] [PATCH 04/11] Add a QFloat datatype, Anthony Liguori, 2009/11/11
[Qemu-devel] [PATCH 10/11] Add a QObject JSON wrapper, Anthony Liguori, 2009/11/11
[Qemu-devel] [PATCH 07/11] Add a lexer for JSON, Anthony Liguori, 2009/11/11