From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NIiku-00032P-BO for qemu-devel@nongnu.org; Thu, 10 Dec 2009 08:08:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NIikp-0002vY-0Q for qemu-devel@nongnu.org; Thu, 10 Dec 2009 08:08:27 -0500 Received: from [199.232.76.173] (port=49267 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NIiko-0002vJ-2P for qemu-devel@nongnu.org; Thu, 10 Dec 2009 08:08:22 -0500 Received: from e37.co.us.ibm.com ([32.97.110.158]:58147) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NIikn-00074I-Rr for qemu-devel@nongnu.org; Thu, 10 Dec 2009 08:08:22 -0500 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e37.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id nBAD6xLa007528 for ; Thu, 10 Dec 2009 06:06:59 -0700 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id nBAD85jH075604 for ; Thu, 10 Dec 2009 06:08:08 -0700 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id nBAD84gK031589 for ; Thu, 10 Dec 2009 06:08:04 -0700 Message-ID: <4B20F2B3.9060901@linux.vnet.ibm.com> Date: Thu, 10 Dec 2009 07:08:03 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 06/19] monitor: do_info_cpus(): Use QBool References: <1260376078-8694-1-git-send-email-lcapitulino@redhat.com> <1260376078-8694-7-git-send-email-lcapitulino@redhat.com> <4B20F122.4070204@linux.vnet.ibm.com> <20091210110540.774180ea@doriath> In-Reply-To: <20091210110540.774180ea@doriath> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: Anthony Liguori , Markus Armbruster , qemu-devel@nongnu.org Luiz Capitulino wrote: > On Thu, 10 Dec 2009 07:01:22 -0600 > Anthony Liguori wrote: > > >> Markus Armbruster wrote: >> >>> Do we want to specify the base for numbers in the JSON? >>> >>> If yes, why not use decimal everywhere? >>> >>> Aside, if we use hexadecimal in JSON at all, then I'd prefer addresses >>> to be hexadecimal. >>> >>> >> Hexadecimal is not valid to represent numbers in JSON. >> > > We can return a string. > Returning a hex string is a bad idea. It overcomplicates clients. -- Regards, Anthony Liguori