From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUiV7-0006i4-SY for qemu-devel@nongnu.org; Wed, 16 May 2012 13:59:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUiV1-0005ha-JO for qemu-devel@nongnu.org; Wed, 16 May 2012 13:59:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUiV1-0005gh-Aw for qemu-devel@nongnu.org; Wed, 16 May 2012 13:58:59 -0400 Message-ID: <4FB3EABF.4020505@redhat.com> Date: Wed, 16 May 2012 11:58:23 -0600 From: Eric Blake MIME-Version: 1.0 References: <1337169582-28312-1-git-send-email-owasserm@redhat.com> <1337169582-28312-9-git-send-email-owasserm@redhat.com> <4FB3D9A7.2060704@redhat.com> <4FB3DE10.6090506@redhat.com> In-Reply-To: <4FB3DE10.6090506@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig5A457C48F0A8564F0EED8509" Subject: Re: [Qemu-devel] [PATCH v10 8/9] Add set_cachesize command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Orit Wasserman Cc: aliguori@us.ibm.com, quintela@redhat.com, stefanha@gmail.com, qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com, blauwirbel@gmail.com, Petter Svard , Benoit Hudzia , avi@redhat.com, pbonzini@redhat.com, Aidan Shribman This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5A457C48F0A8564F0EED8509 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/16/2012 11:04 AM, Orit Wasserman wrote: >>> +- "value": cache size in bytes (json-int) >> >> Would it be any easier to take 'order' (log2 of the size) instead of t= he >> actual cache size? That is, instead of calling "value":1048576, I wou= ld >> rather type "value":20. > Well the user is considering how much memory is going to be used and I = though that it > is simpler to use 1G than 30. Libvirt can cope with either style, so maybe it's worth waiting for anyone else to chime in on which style is easier. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig5A457C48F0A8564F0EED8509 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJPs+q/AAoJEKeha0olJ0NqYH4H/ia7TSco3jfU7NzaWmyeVG7C 3gIreXBkSqVkjMlRLSENBDe/ZwsjY7TbbmncEn+5JeaQmK9RKmjdsTdDPTac0p0D wV6QvPHmQoNzzyptBy75yXKhySnXs/cdh1fXPhyjKUGPR+WhFu5dmNrpR3T9iPfh 3cxp63NNo1U5fBHpg3JezZF6bapOiNDvi77GGbrRkahFresMVy0hcRp7nb0Iq4vs Ntf7+OzDDrnGv89Ed+C6Yjyb6vqtg0o1DhN6biP9teuk4YP/7qyEYxtCqQdQ+i41 M8auGr4dFufRtLi1fHvm5FwvfG3h8FvH/A6eSJmMJOg9A0c9cu6hiaPfSozLQ2o= =Bsug -----END PGP SIGNATURE----- --------------enig5A457C48F0A8564F0EED8509--