From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0G9b-0005Sm-8G for qemu-devel@nongnu.org; Wed, 03 Jun 2015 17:24:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0G9a-0004gu-3w for qemu-devel@nongnu.org; Wed, 03 Jun 2015 17:24:51 -0400 Message-ID: <556F7095.1090800@redhat.com> Date: Wed, 03 Jun 2015 15:24:37 -0600 From: Eric Blake MIME-Version: 1.0 References: <1433360659-1915-1-git-send-email-mreitz@redhat.com> <1433360659-1915-27-git-send-email-mreitz@redhat.com> In-Reply-To: <1433360659-1915-27-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jv8cvWVMqdX2rCbLKrRugKJ1QhiEHe6P2" Subject: Re: [Qemu-devel] [PATCH v3 26/38] blockdev: Add blockdev-open-tray List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-block@nongnu.org Cc: Kevin Wolf , John Snow , qemu-devel@nongnu.org, Stefan Hajnoczi , Markus Armbruster This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jv8cvWVMqdX2rCbLKrRugKJ1QhiEHe6P2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/03/2015 01:44 PM, Max Reitz wrote: > Signed-off-by: Max Reitz > Reviewed-by: Eric Blake > --- > blockdev.c | 48 ++++++++++++++++++++++++++++++++++++++++++++= ++++ > qapi/block-core.json | 23 +++++++++++++++++++++++ > qmp-commands.hx | 39 +++++++++++++++++++++++++++++++++++++++ > 3 files changed, 110 insertions(+) >=20 > +++ b/qapi/block-core.json > @@ -1836,6 +1836,29 @@ > ## > { 'command': 'blockdev-add', 'data': { 'options': 'BlockdevOptions' } = } > =20 > +## > +# @blockdev-open-tray: > +# > +# Opens a block device's tray. If there is a block driver state tree i= nserted as > +# a medium, it will become inaccessible to the guest (but it will rema= in > +# associated to the block device, so closing the tray will make it acc= essible > +# again). > +# > +# If the tray was already open before, this will be a no-op. > +# > +# @device: block device name > +# > +# @force: #optional if false (the default), an eject request will be = sent to > +# the guest if it has locked the tray (and the tray will not = be opened > +# immediately); if true, the tray will be opened regardless o= f whether > +# it is locked > +# > +# Since: 2.3 s/2.3/2.4/ - you'll probably have to make the change throughout the series (so I won't point it out further) --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --jv8cvWVMqdX2rCbLKrRugKJ1QhiEHe6P2 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/ iQEcBAEBCAAGBQJVb3CVAAoJEKeha0olJ0NqTu4H/jUWOcsmdg9fnqLLrd6snIg7 mo40B9QE2uUSm689/L5Q5Hpab4297K4qbI5ImKfLyZT+zm7BHRhVTF2eVMZ9AZ2K NhFgnl/3iYH3tnjLSXzTfmr/S7cqOVeDCcUEr1j2zBvUbQfZ2JpApagF4wSHpvcR LiAEqdgVNmLsRF7AsLTvW20ZrkwaVS6FmduQoj9sRu3ZiGae5/dCOYHcGvg2Eybo dtcNTuHSFU6+YNLNdeR/5VnJTbxW+UbW2C44X69LyZbcQqQmhfXj5Sgn/3uCClV/ eL8z7zNsdUqBcE5bJyJo15JTtMnoDTCzCdVKwDK462DpSWYoAnil3LKnJSS1Lgk= =7gqg -----END PGP SIGNATURE----- --jv8cvWVMqdX2rCbLKrRugKJ1QhiEHe6P2--