[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

 What about a new wrapper?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]