Received: from eggs.gnu.org ([2001:4830:134:3::10]:50021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxjuS-0007uc-Sg for qemu-devel@nongnu.org; Fri, 21 Oct 2016 20:11:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxjuS-0005v5-7e for qemu-devel@nongnu.org; Fri, 21 Oct 2016 20:11:36 -0400 References: <1475237406-26917-1-git-send-email-famz@redhat.com> <1475237406-26917-16-git-send-email-famz@redhat.com> From: Max Reitz Message-ID: <92388e72-ef6f-56b7-3869-32e0d657d5da@redhat.com> Date: Sat, 22 Oct 2016 02:11:26 +0200 MIME-Version: 1.0 In-Reply-To: <1475237406-26917-16-git-send-email-famz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mKcqicC6BrdX1emdi9v7bI1svWHlV1Atj" Subject: Re: [Qemu-devel] [PATCH v8 15/36] qdev: Add "lock-mode" to block device options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng , qemu-devel@nongnu.org Cc: berrange@redhat.com, John Snow , qemu-block@nongnu.org, Kevin Wolf , rjones@redhat.com, Jeff Cody , Markus Armbruster , stefanha@redhat.com, den@openvz.org, pbonzini@redhat.com, eblake@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mKcqicC6BrdX1emdi9v7bI1svWHlV1Atj From: Max Reitz To: Fam Zheng , qemu-devel@nongnu.org Cc: berrange@redhat.com, John Snow , qemu-block@nongnu.org, Kevin Wolf , rjones@redhat.com, Jeff Cody , Markus Armbruster , stefanha@redhat.com, den@openvz.org, pbonzini@redhat.com, eblake@redhat.com Message-ID: <92388e72-ef6f-56b7-3869-32e0d657d5da@redhat.com> Subject: Re: [PATCH v8 15/36] qdev: Add "lock-mode" to block device options References: <1475237406-26917-1-git-send-email-famz@redhat.com> <1475237406-26917-16-git-send-email-famz@redhat.com> In-Reply-To: <1475237406-26917-16-git-send-email-famz@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 30.09.2016 14:09, Fam Zheng wrote: > Signed-off-by: Fam Zheng > --- > hw/core/qdev-properties.c | 10 ++++++++++ > include/hw/block/block.h | 1 + > include/hw/qdev-properties.h | 3 +++ > 3 files changed, 14 insertions(+) Why don't you add _conf.lock_mode in this very patch (instead of patch 3) and pull it in front of patch 12? Setting the mode won't do anything until it's implemented for the various block devices, but I don't think that's a bad thing. Max --mKcqicC6BrdX1emdi9v7bI1svWHlV1Atj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEvBAEBCAAZBQJYCq6vEhxtcmVpdHpAcmVkaGF0LmNvbQAKCRD0B9sAYdXPQHf/ B/9Nf7VIGJKjxhoEW3vs8uxmUe1XISthPnGwDMui77qUzl0Znj6DIVWo1pIT9YMd w+G0sTde/I4eO4m9492rSUfnoOH4c5vChcBak584LtZTWU3z8hKw08/5FRXaBCYL ZpPX7Jg4cAmwYArx7nkjJOu102oQX2s83fdD8nlkg+iDhLlAcS0fEKzU3+bzmp0K muO8jZB8FBIQfMvmrnlsqMQeAxuzeHBnBAztel0AHsLEBmwDDtd4eCmVbxxWlk/B F3SAZJ9dB/odHPJI4+k5+XmJUyl+73tWTQBVe+FKuYS8DSgRAWT3AZoqQ5V4UP/L 0DJyv3zaGs8lJ1J4FDj1IsGi =2Tkk -----END PGP SIGNATURE----- --mKcqicC6BrdX1emdi9v7bI1svWHlV1Atj--