From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKxaM-0004Ft-Rt for qemu-devel@nongnu.org; Mon, 09 Feb 2015 18:17:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKxaJ-0000F0-FF for qemu-devel@nongnu.org; Mon, 09 Feb 2015 18:17:46 -0500 Received: from resqmta-po-06v.sys.comcast.net ([96.114.154.165]:37812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKxaJ-0000Ew-A8 for qemu-devel@nongnu.org; Mon, 09 Feb 2015 18:17:43 -0500 Message-ID: <54D93F89.30501@redhat.com> Date: Mon, 09 Feb 2015 16:15:21 -0700 From: Eric Blake MIME-Version: 1.0 References: <1423501897-30410-1-git-send-email-mreitz@redhat.com> <1423501897-30410-35-git-send-email-mreitz@redhat.com> In-Reply-To: <1423501897-30410-35-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="MbNru1f6hI4nS6M1XwBcVjGJLEU70fHOL" Subject: Re: [Qemu-devel] [PATCH v2 34/37] blockdev: read-only-mode for blockdev-change-medium List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-devel@nongnu.org Cc: Kevin Wolf , John Snow , Markus Armbruster , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MbNru1f6hI4nS6M1XwBcVjGJLEU70fHOL Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/09/2015 10:11 AM, Max Reitz wrote: > Add an option to qmp_blockdev_change_medium() which allows changing the= > read-only status of the block device whose medium is changed. >=20 > Some drives do not have a inherently fixed read-only status; for > instance, floppy disks can be set read-only or writable independently o= f > the drive. Some users may find it useful to be able to therefore change= > the read-only status of a block device when changing the medium. >=20 > Signed-off-by: Max Reitz > --- > blockdev.c | 25 ++++++++++++++++++++++++- > hmp.c | 2 +- > qapi/block-core.json | 24 +++++++++++++++++++++++- > qmp-commands.hx | 24 +++++++++++++++++++++++- > qmp.c | 3 ++- > 5 files changed, 73 insertions(+), 5 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --MbNru1f6hI4nS6M1XwBcVjGJLEU70fHOL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJU2T+JAAoJEKeha0olJ0NqLx8H/RT839BwwHnhXQnRCZ0y98EJ QGOXQKMlTc6qCtc2FDnvCmCwf4nCeST/G1DJ8oPltJKIa/Sx6xthIPqxmMfwHBNj ifvmZ3rPskS7UH0Wan8Zj+za50Ldf7gIpsihgWksULVHO5zLgRQ2ku+aOVEpf36c AIVnnQtrxZTqiCjR/dUr3oWb9r3hN4NSbzNFPLZ895lJ5lVK5DfyM8gKjlIa0/g9 ii0gE59bHIR8FtUDbhurqkiA8O7n11rNkJr7g3ksW4yDqLhoFB5gNyj3uUZ7sBsq jR+dNFM5sGYvi8SLElnVHe0/pCrU8yr/6wNnISojf0WqS4Rx15EvQe/HOUSKA0c= =egL/ -----END PGP SIGNATURE----- --MbNru1f6hI4nS6M1XwBcVjGJLEU70fHOL--