From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SStyM-0006eg-8K for qemu-devel@nongnu.org; Fri, 11 May 2012 13:49:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SStyK-0004jJ-Hs for qemu-devel@nongnu.org; Fri, 11 May 2012 13:49:45 -0400 Received: from cantor2.suse.de ([195.135.220.15]:50594 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SStyK-0004j7-Bs for qemu-devel@nongnu.org; Fri, 11 May 2012 13:49:44 -0400 Message-ID: <4FAD512F.7060004@suse.de> Date: Fri, 11 May 2012 19:49:35 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1336758204-9118-1-git-send-email-mdroth@linux.vnet.ibm.com> In-Reply-To: <1336758204-9118-1-git-send-email-mdroth@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1.1] qapi: QMP input visitor, handle floats parsed as ints List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Roth Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org, lcapitulino@redhat.com Am 11.05.2012 19:43, schrieb Michael Roth: > JSON numbers can be interpreted as either integers or floating point > values depending on their representation. As a result, QMP input visito= r > might visit a QInt when it was expecting a QFloat, so add handling to > account for this. >=20 > Signed-off-by: Michael Roth Acked-by: Andreas F=E4rber /-F --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg