Received: from eggs.gnu.org ([2001:4830:134:3::10]:59905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm69U-00085F-B4 for qemu-devel@nongnu.org; Mon, 19 Sep 2016 17:31:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bm69T-0003Pl-5F for qemu-devel@nongnu.org; Mon, 19 Sep 2016 17:31:00 -0400 References: <1474303471-12509-1-git-send-email-jsnow@redhat.com> From: Max Reitz Message-ID: Date: Mon, 19 Sep 2016 23:30:47 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aBLMtD2MJB8WFFrAiqveVq3XtLGDqbF53" Subject: Re: [Qemu-devel] [PATCH v4 0/2] block: allow flush on devices with open tray List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow , qemu-block@nongnu.org Cc: kwolf@redhat.com, qemu-devel@nongnu.org, qemu-stable@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aBLMtD2MJB8WFFrAiqveVq3XtLGDqbF53 From: Max Reitz To: John Snow , qemu-block@nongnu.org Cc: kwolf@redhat.com, qemu-devel@nongnu.org, qemu-stable@nongnu.org Message-ID: Subject: Re: [Qemu-devel] [PATCH v4 0/2] block: allow flush on devices with open tray References: <1474303471-12509-1-git-send-email-jsnow@redhat.com> In-Reply-To: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 19.09.2016 23:21, John Snow wrote: >=20 >=20 > On 09/19/2016 04:58 PM, Max Reitz wrote: >> On 19.09.2016 18:44, John Snow wrote: >>> Final re-send for wording. >>> >>> The move to blk_flush altered the behavior of migration and flushing >>> nodes that are not reachable via the guest, but are still reachable >>> via QEMU and may or may not need to be flushed. >>> >>> This is likely the simplest solution for now until we nail down our >>> policy a bit more. >>> >>> This is intended for 2.6.2 and/or 2.7.1, to fix problems with libvirt= >>> et al being unable to migrate QEMU when the CDROM tray is open. >>> >>> v4: >>> Commit message update. >>> >>> v3: >>> Trying to take a hint from Kevin, reinstating bdrv_flush_all. >>> If it's not what we want, we can try moving back to v2, >>> acknowledging that a nicer solution in the future: >>> (A) Can skip flushing on devices that just don't need it, and >>> (B) Optionally institutes some sort of flush-on-eject policy. >>> >>> _____________________________________________________________________= ___________ >>> >>> >>> For convenience, this branch is available at: >>> https://github.com/jnsnow/qemu.git branch atapi-tray-migfix >>> https://github.com/jnsnow/qemu/tree/atapi-tray-migfix >>> >>> This version is tagged atapi-tray-migfix-v4: >>> https://github.com/jnsnow/qemu/releases/tag/atapi-tray-migfix-v4 >>> >>> John Snow (2): >>> block: reintroduce bdrv_flush_all >>> qemu: use bdrv_flush_all for vm_stop et al >>> >>> block/io.c | 25 +++++++++++++++++++++++++ >>> cpus.c | 4 ++-- >>> include/block/block.h | 1 + >>> 3 files changed, 28 insertions(+), 2 deletions(-) >> >> Reviewed-by: Max Reitz >> >=20 > http://i.imgur.com/DNltmfT.jpg http://bit.ly/2cLX1rm --aBLMtD2MJB8WFFrAiqveVq3XtLGDqbF53 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEvBAEBCAAZBQJX4FkIEhxtcmVpdHpAcmVkaGF0LmNvbQAKCRD0B9sAYdXPQAt4 B/4n2W6o+86MY00qzq7I1x7lQJzv3BsZ903Ykirt7dQW81fAn3qkga736+Bj3mGx yFx4bFyj9aapSTjXX5+Y3Qyy6s8lJT6lbPqBw6LYxvYk3IqI8tJPNGYUqK/4kpQb Jd71zPvpzgOhiITvR65NlwzWwSz+xQ4gcujSeD5w6PbLrYwZ4k0hOtS4QHrFDwNi nLYzYd0001LqtXN7syhbUNVD/G/3cCPvZTlIsHw+Cbvf8aN1CpcN4vFDAm0w7SY9 pbiowB1Os57+pFsWPdtW0eg4yzTMxlXfewy0e1po1qOPaq6vd5qWyNI1DWQKaRKf delqgFVB4OOwUlabvOf+eoFt =e+nn -----END PGP SIGNATURE----- --aBLMtD2MJB8WFFrAiqveVq3XtLGDqbF53--