From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoxWM-00079t-Ru for qemu-devel@nongnu.org; Wed, 11 Jul 2012 10:04:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoxWG-0005hK-KJ for qemu-devel@nongnu.org; Wed, 11 Jul 2012 10:04:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoxWG-0005gx-C6 for qemu-devel@nongnu.org; Wed, 11 Jul 2012 10:03:56 -0400 Date: Wed, 11 Jul 2012 11:03:19 -0300 From: Luiz Capitulino Message-ID: <20120711110319.4c1dc584@doriath.home> In-Reply-To: <4FFAEE1C.2050607@redhat.com> References: <20120615204648.9853.1225.sendpatchset@skannery.in.ibm.com> <20120615204701.9853.3126.sendpatchset@skannery.in.ibm.com> <4FDBA3FD.5000106@redhat.com> <4FFAEE1C.2050607@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [v1 Patch 1/10]Qemu: Enhance "info block" to display host cache setting List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Supriya Kannery , Shrinidhi Joshi , Stefan Hajnoczi , Jeff Cody , qemu-devel@nongnu.org, Eric Blake , Christoph Hellwig On Mon, 09 Jul 2012 16:43:40 +0200 Kevin Wolf wrote: > Am 15.06.2012 23:07, schrieb Eric Blake: > > On 06/15/2012 02:47 PM, Supriya Kannery wrote: > >> Enhance "info block" to display hostcache setting for each > >> block device. > >> > > > >> ## > >> { 'type': 'BlockInfo', > >> 'data': {'device': 'str', 'type': 'str', 'removable': 'bool', > >> - 'locked': 'bool', '*inserted': 'BlockDeviceInfo', > >> + 'locked': 'bool','hostcache': 'bool', '*inserted': 'BlockDeviceInfo', > > > > space after comma > > > > Since 'hostcache' was not present when talking to older qemu, should we > > mark it optional? > > What does "optional" really mean? I always understood that it means that > whether the field exists or not depends on some runtime condition, not > on the qemu version. I would specify something like this, that always > exists in new qemu versions, in the "Since" section. Or maybe a separate > "Since" specification like in SpiceInfo for mouse-mode. Yes, Kevin is right.