From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOVLq-00077h-Tg for qemu-devel@nongnu.org; Mon, 23 May 2011 09:39:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOVLp-0005eN-Tw for qemu-devel@nongnu.org; Mon, 23 May 2011 09:39:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOVLp-0005eC-N0 for qemu-devel@nongnu.org; Mon, 23 May 2011 09:39:17 -0400 Date: Mon, 23 May 2011 14:39:13 +0100 From: "Richard W.M. Jones" Message-ID: <20110523133913.GH27503@amd.home.annexia.org> References: <20110520180331.GA21837@amd.home.annexia.org> <4DD6AEB9.6060506@codemonkey.ws> <20110523130411.GR24143@redhat.com> <4DDA620F.1090308@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DDA620F.1090308@codemonkey.ws> Subject: Re: [Qemu-devel] [PATCH] qemu: json: Fix parsing of integers >= 0x8000000000000000 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, Luiz Capitulino Just refer everyone at this point the actual standard: http://www.ietf.org/rfc/rfc4627.txt It leaves it up to the application how to interpret and store integers. It would be standard-conforming to only allow "0" and "1". While qemu is technically correct, in practice it's being very unhelpful here. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/