graphic: 0.924 semantic: 0.919 KVM: 0.907 performance: 0.901 user-level: 0.869 hypervisor: 0.863 virtual: 0.840 device: 0.833 architecture: 0.833 register: 0.832 mistranslation: 0.832 files: 0.830 debug: 0.804 network: 0.791 ppc: 0.777 permissions: 0.771 VMM: 0.763 i386: 0.727 PID: 0.722 x86: 0.717 TCG: 0.698 socket: 0.689 vnc: 0.682 peripherals: 0.673 kernel: 0.644 risc-v: 0.608 boot: 0.590 arm: 0.589 assembly: 0.473 migrate exec ignores exit status 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 expected, and the VM then being stopped. This is surprising, as I think it stands 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. == 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 Well, I have reproduced this behavior in Lucid's qemu-kvm 0.12.3, so the report is still accurate. I don't have a strong opinion on the desired behavior, though I can certainly see the bug reporter's point. This bug is filed against the upstream QEMU project, so we'll defer to Upstream's decision on this feature. Thanks for the report. This is a bug and has been reported upstream, it is unlikely to be fixed at the distribution level and therefore anyone interested in working on this bug should contribute a patch to the upstream project. This will then filter down to Ubuntu when it is merged mainline. Marking "Won't Fix" against the Ubuntu package. Thanks for reporting this bug. The attached patch works for me with the posted test case. Patch has been included here: http://git.qemu.org/?p=qemu.git;a=commitdiff;h=41ef56e61153d7bd27d34a63463 So I assume this should be working now.