From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0Yzg-00052U-T9 for qemu-devel@nongnu.org; Thu, 13 Nov 2008 05:00:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0Yzg-00051n-10 for qemu-devel@nongnu.org; Thu, 13 Nov 2008 05:00:08 -0500 Received: from [199.232.76.173] (port=38680 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0Yzf-00051X-Mm for qemu-devel@nongnu.org; Thu, 13 Nov 2008 05:00:07 -0500 Received: from main.gmane.org ([80.91.229.2]:45420 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L0Yzf-0002SB-Fo for qemu-devel@nongnu.org; Thu, 13 Nov 2008 05:00:07 -0500 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1L0Yzb-0006n8-4y for qemu-devel@nongnu.org; Thu, 13 Nov 2008 10:00:03 +0000 Received: from 217-162-87-42.dclient.hispeed.ch ([217.162.87.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Nov 2008 10:00:03 +0000 Received: from thomas by 217-162-87-42.dclient.hispeed.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 13 Nov 2008 10:00:03 +0000 From: Thomas Mueller Date: Thu, 13 Nov 2008 09:53:26 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: news Subject: [Qemu-devel] Re: [5694] Reintroduce migrate-to-exec: support (Charles Duffy) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Tue, 11 Nov 2008 16:46:33 +0000, Anthony Liguori wrote: > Revision: 5694 > http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5694 > Author: aliguori > Date: 2008-11-11 16:46:33 +0000 (Tue, 11 Nov 2008) > > Log Message: > ----------- > Reintroduce migrate-to-exec: support (Charles Duffy) > > KVM's live migration support included support for exec: URLs, allowing > system state to be written or received via an arbitrary popen()ed > subprocess. This provides a convenient way to pipe state through a > compression algorithm or an arbitrary network transport on its way to > its destination, and a convenient way to write state to disk; libvirt's > qemu driver currently uses migration to exec: targets for this latter > purpose. > > This version of the patch refactors now-common code from migrate-tcp.c > into migrate.c. i applied this patch to the kvm-79 qemu. save and restore works with "migration exec:cat >/tmp/vm.state"/"- incoming exec:cat /tmp/vm.state", altough there is an segfault logged to syslog: [265193.983381] kvm[15017]: segfault at 0 ip 0 sp 7fffb85ecaa8 error 14 in kvm[400000+1af000] my system: Intel E5420, debian etch, kernel 2.6.26 - Thomas