Received: from eggs.gnu.org ([140.186.70.92]:39918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzVgR-00005d-Hh for qemu-devel@nongnu.org; Fri, 02 Sep 2011 11:29:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzVgQ-0008Nf-M3 for qemu-devel@nongnu.org; Fri, 02 Sep 2011 11:29:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzVgQ-0008NU-BO for qemu-devel@nongnu.org; Fri, 02 Sep 2011 11:29:30 -0400 From: Markus Armbruster References: <1312376904-16115-1-git-send-email-armbru@redhat.com> <1312376904-16115-38-git-send-email-armbru@redhat.com> <4E60D453.30004@redhat.com> Date: Fri, 02 Sep 2011 17:29:23 +0200 In-Reply-To: <4E60D453.30004@redhat.com> (Kevin Wolf's message of "Fri, 02 Sep 2011 15:04:19 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH v2 37/45] block: Show whether the guest ejected the medium in info block List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: stefano.stabellini@eu.citrix.com, quintela@redhat.com, qemu-devel@nongnu.org, lcapitulino@redhat.com, hare@suse.de, amit.shah@redhat.com, hch@lst.de Kevin Wolf writes: > Am 03.08.2011 15:08, schrieb Markus Armbruster: >> Need to ask the device, so this requires new BlockDevOps member >> is_medium_ejected(). >> >> Signed-off-by: Markus Armbruster > > I find the name confusing. "medium is ejected" seems to mean "tray is > open". It isn't obvious that "tray is closed, but no medium is inserted" > is not "medium is ejected". > > Why not call it tray_open like in the devices? Not all all devices with removable media have trays. I'll rename it anyway. We'll figure out how to handle devices without trays when we add one.