Received: from eggs.gnu.org ([2001:4830:134:3::10]:57837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aL6yg-0005fV-Rv for qemu-devel@nongnu.org; Mon, 18 Jan 2016 05:24:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aL6yg-000288-0F for qemu-devel@nongnu.org; Mon, 18 Jan 2016 05:24:02 -0500 From: Alberto Garcia In-Reply-To: <1452613674-12248-2-git-send-email-mreitz@redhat.com> References: <1452613674-12248-1-git-send-email-mreitz@redhat.com> <1452613674-12248-2-git-send-email-mreitz@redhat.com> Date: Mon, 18 Jan 2016 11:23:17 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [Qemu-block] [PATCH 1/4] block: Add blk_dev_has_tray() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-block@nongnu.org Cc: Kevin Wolf , Peter Maydell , Markus Armbruster , qemu-stable , qemu-devel@nongnu.org On Tue 12 Jan 2016 04:47:51 PM CET, Max Reitz wrote: > Pull out the check whether a block device has a tray from > blk_dev_is_tray_open() into an own function so both attributes (whether > there is a tray vs. whether that tray is open) can be queried > independently. > > Cc: qemu-stable > Signed-off-by: Max Reitz Reviewed-by: Alberto Garcia Berto