From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoFBn-0002QV-EV for qemu-devel@nongnu.org; Mon, 09 Jul 2012 10:43:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoFBl-0001gR-PG for qemu-devel@nongnu.org; Mon, 09 Jul 2012 10:43:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoFBl-0001g7-HA for qemu-devel@nongnu.org; Mon, 09 Jul 2012 10:43:49 -0400 Message-ID: <4FFAEE1C.2050607@redhat.com> Date: Mon, 09 Jul 2012 16:43:40 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <20120615204648.9853.1225.sendpatchset@skannery.in.ibm.com> <20120615204701.9853.3126.sendpatchset@skannery.in.ibm.com> <4FDBA3FD.5000106@redhat.com> In-Reply-To: <4FDBA3FD.5000106@redhat.com> Content-Type: text/plain; charset=UTF-8 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: Eric Blake Cc: Supriya Kannery , Shrinidhi Joshi , Stefan Hajnoczi , Jeff Cody , qemu-devel@nongnu.org, Luiz Capitulino , Christoph Hellwig 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. Kevin