Received: from eggs.gnu.org ([2001:4830:134:3::10]:46454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un38g-0005tU-Sv for qemu-devel@nongnu.org; Thu, 13 Jun 2013 04:44:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Un38f-0004IW-Pn for qemu-devel@nongnu.org; Thu, 13 Jun 2013 04:44:14 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:61364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Un38f-0004IQ-JX for qemu-devel@nongnu.org; Thu, 13 Jun 2013 04:44:13 -0400 Received: by mail-wi0-f174.google.com with SMTP id k10so1308202wiv.13 for ; Thu, 13 Jun 2013 01:44:12 -0700 (PDT) Date: Thu, 13 Jun 2013 10:44:10 +0200 From: Stefan Hajnoczi Message-ID: <20130613084410.GG2633@stefanha-thinkpad.redhat.com> References: <51B95210.9080000@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51B95210.9080000@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] virsh live migration w/o shared storage fails with error as vm is not running List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: chandrashekar shastri Cc: libvir-list@redhat.com, qemu-devel@nongnu.org, virt-tools-list@redhat.com On Thu, Jun 13, 2013 at 10:31:04AM +0530, chandrashekar shastri wrote: > We are testing the upstream KVM with : > > Kernel, Qemu, Libvirt, Virt-Manager is built from the source (git). > > kernel version : 3.9.0+ > qemu version : QEMU emulator version 1.5.0 > libvirt version : 1.0.5 > virt-install : 0.600.3 > > I have followed the below steps to test the "Live migration w/o > shared storage" feature : > > 1. Created the qemu-img create -f qcow2 vm.qcow2 12G on the > destination host which is same as the source. > 2. Started the guest on the source > 3. Started the vncdisplay to monitor the guest > 4. Initiated the migration "virsh migrate --live rhel64-64 > qemu+ssh://9.126.89.202/system --verbose --copy-storage-all" > 5. It started the copying the storage from souce to destination > (conitinously monitored it was growing) > 6. Guest on the destination was paused and was running on the source > 7. At some point the VM on the source shutdown and got an error on > the vnc display as " Viewport: write: Broken pipe (32)" and the > VM on the destination was undefined. > > Below is the libvirt debug log, please let me with your comments. > > Debug log: > -------------- What about /var/log/libvirt/qemu/rhel64-64.log? That is the QEMU command-line and stderr log. Also can you try without copy-storage-all just to see if migration completes successfully? The guest will act weird once it migrates since the disk is zeroed but it will isolate the failure to --copy-storage-all. Stefan