Received: from [140.186.70.92] (port=33658 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJuHL-0002eN-3p for qemu-devel@nongnu.org; Wed, 02 Jun 2010 16:11:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJuHJ-0002FG-IW for qemu-devel@nongnu.org; Wed, 02 Jun 2010 16:11:07 -0400 Received: from adelie.canonical.com ([91.189.90.139]:54565) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJuHJ-0002F7-Cr for qemu-devel@nongnu.org; Wed, 02 Jun 2010 16:11:05 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OJuHH-0005MA-95 for ; Wed, 02 Jun 2010 21:11:03 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 354772E844B for ; Wed, 2 Jun 2010 21:10:54 +0100 (BST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Jun 2010 20:04:56 -0000 From: Anthony Liguori Sender: bounces@canonical.com References: <20090625001558.14393.64908.malonedeb@palladium.canonical.com> Message-Id: <20100602200456.10953.31821.malone@potassium.ubuntu.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 391879] Re: migrate exec ignores exit status Reply-To: Bug 391879 <391879@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The attached patch works for me with the posted test case. ** Changed in: qemu Status: Confirmed =3D> In Progress ** Patch added: "0001-migration-respect-exit-status-with-exec.patch" http://launchpadlibrarian.net/49572236/0001-migration-respect-exit-statu= s-with-exec.patch -- = migrate exec ignores exit status https://bugs.launchpad.net/bugs/391879 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: In Progress Status in =E2=80=9Cqemu-kvm=E2=80=9D package in Ubuntu: Won't Fix Bug description: Binary package hint: kvm Using migrate "exec:cat > foo; false" in the monitor results in the state of the VM being written to foo, as expe= cted, and the VM then being stopped. This is surprising, as I think it stan= ds to reason that in case of a failed migrate-exec process, which is what a= non-zero exit status implies to me, the VM should continue. =3D=3D Version information $ lsb_release -rd Description: Ubuntu 9.04 Release: 9.04 $ apt-cache policy kvm kvm: Installed: 1:84+dfsg-0ubuntu11 Candidate: 1:84+dfsg-0ubuntu11 Version table: *** 1:84+dfsg-0ubuntu11 0 500 http://gb.archive.ubuntu.com jaunty/main Packages 100 /var/lib/dpkg/status