Received: from eggs.gnu.org ([2001:4830:134:3::10]:51618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bm5dq-0007gi-KK for qemu-devel@nongnu.org; Mon, 19 Sep 2016 16:58:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bm5do-0007xA-Mz for qemu-devel@nongnu.org; Mon, 19 Sep 2016 16:58:17 -0400 References: <1474303471-12509-1-git-send-email-jsnow@redhat.com> From: Max Reitz Message-ID: Date: Mon, 19 Sep 2016 22:58:03 +0200 MIME-Version: 1.0 In-Reply-To: <1474303471-12509-1-git-send-email-jsnow@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Hkb6TjIh2N7kqMb4dsA8aQ62HANff25g6" 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) --Hkb6TjIh2N7kqMb4dsA8aQ62HANff25g6 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: [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: <1474303471-12509-1-git-send-email-jsnow@redhat.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 19.09.2016 18:44, John Snow wrote: > Final re-send for wording. >=20 > 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. >=20 > This is likely the simplest solution for now until we nail down our > policy a bit more. >=20 > 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. >=20 > v4: > Commit message update. >=20 > 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. >=20 > _______________________________________________________________________= _________ >=20 > 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 >=20 > This version is tagged atapi-tray-migfix-v4: > https://github.com/jnsnow/qemu/releases/tag/atapi-tray-migfix-v4 >=20 > John Snow (2): > block: reintroduce bdrv_flush_all > qemu: use bdrv_flush_all for vm_stop et al >=20 > block/io.c | 25 +++++++++++++++++++++++++ > cpus.c | 4 ++-- > include/block/block.h | 1 + > 3 files changed, 28 insertions(+), 2 deletions(-) Reviewed-by: Max Reitz --Hkb6TjIh2N7kqMb4dsA8aQ62HANff25g6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEvBAEBCAAZBQJX4FFbEhxtcmVpdHpAcmVkaGF0LmNvbQAKCRD0B9sAYdXPQCJd B/923i4WOyWIUQ3ih8JIYytwkT12WZbg/5JWzq6GeD9UXPa6HXsEj2+lELvDAccj h4bAwvOWGadtP5EDwVgsR1PCaK6auAKeHAew/3wHUMfBdcey6l4o1NK1ELlqjlPF CBdxFFevGDMUKjJc07tS1VgKZ9WVuHgxlAol+Rh5VaIySHLVdzA0gdbkT2mEcs2V Wr4YFfGq+63kfYU9tutweew2fA8a65InJGZzI6TE7cl3EYp1nYoRdudKRluxNoqZ Et5+LLMbvx6VK7YdYoubhiIicEmH0rBEhLDNa7Xg9t0l53oSDCoKmZlSw9rpXQb3 EsoeBIqz3Ru1SNiD3Wt0lEot =9fBb -----END PGP SIGNATURE----- --Hkb6TjIh2N7kqMb4dsA8aQ62HANff25g6--