From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aK7gh-00028T-0X for qemu-devel@nongnu.org; Fri, 15 Jan 2016 11:57:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aK7gd-0000tI-47 for qemu-devel@nongnu.org; Fri, 15 Jan 2016 11:57:22 -0500 References: <1452613674-12248-1-git-send-email-mreitz@redhat.com> <1452613674-12248-2-git-send-email-mreitz@redhat.com> From: Eric Blake Message-ID: <569924EB.3070501@redhat.com> Date: Fri, 15 Jan 2016 09:57:15 -0700 MIME-Version: 1.0 In-Reply-To: <1452613674-12248-2-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="U6jntU6hnWCjdNoCrBLL30wXEqriSPXQ9" Subject: Re: [Qemu-devel] [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-devel@nongnu.org, qemu-stable , John Snow This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --U6jntU6hnWCjdNoCrBLL30wXEqriSPXQ9 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/12/2016 08:47 AM, 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= s.an own/its own/ > there is a tray vs. whether that tray is open) can be queried > independently. >=20 > Cc: qemu-stable > Signed-off-by: Max Reitz > --- > block/block-backend.c | 10 +++++++++- > include/block/block_int.h | 1 + > 2 files changed, 10 insertions(+), 1 deletion(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --U6jntU6hnWCjdNoCrBLL30wXEqriSPXQ9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWmSTrAAoJEKeha0olJ0NqqAAH/2l1Cl2lmOndO2RIA2bdiDQ/ 9as0QMLuzoAWSdLSLR56Z68/z11sE8z4DMxafL8YV4cJ2+WnCOtKNiYouUVgLnTf cZ23FGQMcREnct7Fsi78RCpjdN8uwdbL5JiQHaicfsg82IjTS+kx2wSMzreBKhXU VtP8Yb/IC6f5NIHJVtmU4ZzvB6Iy+OTttkZQZOp/FIT3pGHtAKjw+0Rbif+wXANg VyMtsM2UNs3g6LlTt8TiVxl7bu+rkJW3x11VaGk47xRBhf2KXgs566+si5wbUnRw m+UD2TdbWj2iCWzmT2zjq0lwXPmcprWmtVyBowKKQJbx58JGGU4YqSHySmhBDTc= =RPf3 -----END PGP SIGNATURE----- --U6jntU6hnWCjdNoCrBLL30wXEqriSPXQ9--