qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/7] QMP: Assure that returned data is a QDict


From: Luiz Capitulino
Subject: Re: [Qemu-devel] [PATCH 3/7] QMP: Assure that returned data is a QDict
Date: Tue, 22 Dec 2009 01:06:35 -0200

On Mon, 21 Dec 2009 19:21:18 +0000
Nathan Baum <address@hidden> wrote:

> On Fri, 2009-12-18 at 13:25 -0200, Luiz Capitulino wrote:
> > This is for debug purposes only.
> 
> This breaks quite a lot of commands where the returned data is a QList,
> e.g. query-commands, query-mice, query-cpus. Is the assert wrong, or are
> such commands meant to be returning a QDict?

 The assert is wrong, as we've defined that returning a QList of
QDicts is ok.

 We could check for a QList too and check its contents but I think that
only dropping the assert is ok for now.

 Will submit a patch and thanks for testing QMP.




reply via email to

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