Received: from eggs.gnu.org ([2001:4830:134:3::10]:57555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJMy7-000355-9S for qemu-devel@nongnu.org; Sat, 02 Jul 2016 11:36:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJMy5-0001Ju-Sv for qemu-devel@nongnu.org; Sat, 02 Jul 2016 11:36:30 -0400 References: <1467296007-12252-1-git-send-email-kwolf@redhat.com> <1467296007-12252-3-git-send-email-kwolf@redhat.com> From: Max Reitz Message-ID: <10e7b596-b85a-ec56-3e6e-c5443badaa3c@redhat.com> Date: Sat, 2 Jul 2016 17:36:20 +0200 MIME-Version: 1.0 In-Reply-To: <1467296007-12252-3-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4wopXAlfqUJdwWU8li8bElRRqnISwW27n" Subject: Re: [Qemu-devel] [PATCH v2 2/6] block/qdev: Allow configuring WCE with qdev properties List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: eblake@redhat.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4wopXAlfqUJdwWU8li8bElRRqnISwW27n From: Max Reitz To: Kevin Wolf , qemu-block@nongnu.org Cc: eblake@redhat.com, qemu-devel@nongnu.org Message-ID: <10e7b596-b85a-ec56-3e6e-c5443badaa3c@redhat.com> Subject: Re: [PATCH v2 2/6] block/qdev: Allow configuring WCE with qdev properties References: <1467296007-12252-1-git-send-email-kwolf@redhat.com> <1467296007-12252-3-git-send-email-kwolf@redhat.com> In-Reply-To: <1467296007-12252-3-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 30.06.2016 16:13, Kevin Wolf wrote: > As cache.writeback is a BlockBackend property and as such more related > to the guest device than the BlockDriverState, we already removed it > from the blockdev-add interface. This patch adds the new way to set it,= > as a qdev property of the corresponding guest device. >=20 > For example: -drive if=3Dnone,file=3Dtest.img,node-name=3Dimg > -device ide-hd,drive=3Dimg,write-cache=3Doff >=20 > Signed-off-by: Kevin Wolf > --- > hw/block/block.c | 16 ++++++++++++++++ > hw/block/nvme.c | 1 + > hw/block/virtio-blk.c | 1 + > hw/ide/qdev.c | 1 + > hw/scsi/scsi-disk.c | 1 + > hw/usb/dev-storage.c | 1 + > include/hw/block/block.h | 5 ++++- > 7 files changed, 25 insertions(+), 1 deletion(-) Reviewed-by: Max Reitz --4wopXAlfqUJdwWU8li8bElRRqnISwW27n 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 iQEvBAEBCAAZBQJXd990EhxtcmVpdHpAcmVkaGF0LmNvbQAKCRA7sUIC6DisrcdJ B/9p7zzeS89CTwIFjAJObobimzZBDb0sfqs6PvJu+X7eYtVd8cJeSwtoCHDTGFR7 LlFxXbzwgLlyCTeexGCuUcZ5VzoAh2LS31T8ORTZdDjZUBqQIl4JU/7KY5rNzHB7 2SEPVhqHPOp5W5R3nyDfj93ySMODTqJGgyHPjrO2NftyPFPyUMw/Qyx/LZXLqYro lCBwEls/DZwsoBqixWssTzWI100d7+Wt1UtlozadaRYuVWF8v7yrCySTnJyKuMar QLAJZGTgePG5HBgXDKZMCYm/stj1XYSbJHMbibix82XNY2+a6llMCGxqSiDZPaL3 kz5OStwoi72jkw6eqMKb7rfv =6j/Z -----END PGP SIGNATURE----- --4wopXAlfqUJdwWU8li8bElRRqnISwW27n--