Received: from eggs.gnu.org ([2001:4830:134:3::10]:53046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y19tc-0001cD-06 for qemu-devel@nongnu.org; Wed, 17 Dec 2014 03:23:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y19tX-0003UM-5w for qemu-devel@nongnu.org; Wed, 17 Dec 2014 03:23:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y19tW-0003UI-Ti for qemu-devel@nongnu.org; Wed, 17 Dec 2014 03:23:43 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sBH8NfHq023635 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 17 Dec 2014 03:23:42 -0500 From: Markus Armbruster References: <1418780167-16231-1-git-send-email-jsnow@redhat.com> Date: Wed, 17 Dec 2014 09:23:39 +0100 In-Reply-To: <1418780167-16231-1-git-send-email-jsnow@redhat.com> (John Snow's message of "Tue, 16 Dec 2014 20:35:50 -0500") Message-ID: <87wq5q4rck.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2 00/17] ide: rerror and werror support for IDE and AHCI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow Cc: kwolf@redhat.com, mst@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com, stefanha@redhat.com, pbonzini@redhat.com John Snow writes: > This series was written mostly by Paolo Bonzini to do two things: > > 1. Unify the restart callbacks for ISA, AHCI and BMDMA > 2. Ensure we can restart a command after migration > > Many of the early patches only make much sense considering the > end-goal of eliminating BMDMA specific restart code to be shared > with ISA and AHCI codepaths. > > Migration for halted commands is fixed for ISA, PCI and AHCI. > As a consequence, operations halted via rerror=stop or werror=stop > should be able to be successfully migrated and resumed when using > ISA, PCI, or AHCI. > > This series includes tests for ISA and PCI/BMDMA, but does not > yet include tests for AHCI, which require some more qtest work > to be upstreamed first. Regardless, the AHCI tests have been > written and can be observed at: > https://github.com/jnsnow/qemu/commits/ahci-devel-latest > > See "ahci: add migrate dma test" and "ahci-test: add flush migrate test" > for the WIP versions of the AHCI test that I used to exercise this > patchset. I had to read this twice to even guess how this is related to the stated subject "ide: rerror and werror support for IDE and AHCI" :) IDE already supports rerror and werror. I guess this series fixes migration bugs that can bite when rerror/werror=stop. Correct?