From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uoter-0000tk-1L for qemu-devel@nongnu.org; Tue, 18 Jun 2013 07:01:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uoteo-0005FU-42 for qemu-devel@nongnu.org; Tue, 18 Jun 2013 07:01:04 -0400 Received: from e23smtp08.au.ibm.com ([202.81.31.141]:37299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uoten-0005F9-CE for qemu-devel@nongnu.org; Tue, 18 Jun 2013 07:01:02 -0400 Received: from /spool/local by e23smtp08.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 18 Jun 2013 20:58:10 +1000 Received: from d23relay03.au.ibm.com (d23relay03.au.ibm.com [9.190.235.21]) by d23dlp03.au.ibm.com (Postfix) with ESMTP id E6137357804E for ; Tue, 18 Jun 2013 21:00:49 +1000 (EST) Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r5IB0dDt1180156 for ; Tue, 18 Jun 2013 21:00:41 +1000 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r5IB0mOc004717 for ; Tue, 18 Jun 2013 21:00:48 +1000 Message-ID: <51C03DDE.9090407@linux.vnet.ibm.com> Date: Tue, 18 Jun 2013 16:30:46 +0530 From: chandrashekar shastri MIME-Version: 1.0 References: <51B95210.9080000@linux.vnet.ibm.com> <20130613084410.GG2633@stefanha-thinkpad.redhat.com> <51BA00B1.1020003@linux.vnet.ibm.com> <51BA3D91.5020405@redhat.com> In-Reply-To: <51BA3D91.5020405@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Paolo Bonzini Cc: libvir-list@redhat.com, Stefan Hajnoczi , qemu-devel@nongnu.org, virt-tools-list@redhat.com On 06/14/2013 03:15 AM, Paolo Bonzini wrote: > Il 13/06/2013 13:26, chandrashekar shastri ha scritto: >> On 06/13/2013 02:14 PM, Stefan Hajnoczi wrote: >>> 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 > Please try with libvirt 1.0.5.2. I pulled the latest libvirt from git to test this and some other issues as suggested by commuinty. But I am stuck and not able to make any progress because libvirt compliation is failing with below error: Sorry for Laszlo, Stefan, Martin, Paolo and others for not following the things what they have suggessted. Below is the error what I am getting when I tried to compile the libvirt: ############################################################### You may need to use the following Makefile variables when linking. Use them in _LDADD when linking a program, or in _a_LDFLAGS or _la_LDFLAGS when linking a library. $(GETADDRINFO_LIB) $(GETHOSTNAME_LIB) $(HOSTENT_LIB) $(INET_NTOP_LIB) $(INET_PTON_LIB) $(LDEXP_LIBM) $(LIBSOCKET) $(LIB_CLOCK_GETTIME) $(LIB_EXECINFO) $(LIB_FDATASYNC) $(LIB_POLL) $(LIB_PTHREAD) $(LIB_PTHREAD_SIGMASK) $(LIB_SELECT) $(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise $(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise $(PTY_LIB) $(SERVENT_LIB) Don't forget to - "include gnulib.mk" from within "gnulib/lib/Makefile.am", - "include gnulib.mk" from within "gnulib/tests/Makefile.am", - mention "-I gnulib/m4" in ACLOCAL_AMFLAGS in Makefile.am, - mention "gnulib/m4/gnulib-cache.m4" in EXTRA_DIST in Makefile.am, - invoke gl_EARLY in ./configure.ac, right after AC_PROG_CC, - invoke gl_INIT in ./configure.ac. running: AUTOPOINT=true LIBTOOLIZE=true autoreconf --verbose --install --force -I gnulib/m4 --no-recursive autoreconf: Entering directory `.' autoreconf: running: true --force autoreconf: running: aclocal -I m4 -I gnulib/m4 --force -I m4 -I gnulib/m4 autoreconf: configure.ac: tracing autoreconf: running: true --copy --force autoreconf: running: /usr/bin/autoconf --include=gnulib/m4 --force autoreconf: running: /usr/bin/autoheader --include=gnulib/m4 --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:2424: error: required file 'gnulib/lib/Makefile.in' not found configure.ac:2424: error: required file 'gnulib/tests/Makefile.in' not found autoreconf: automake failed with exit status: 1 ########################################################################### I didn't face any issue with libvirt 1.0.5. Please let me know if I am missing anything here or it is really a bug with "gnulib". Thanks, Chandrashekar > >>>> 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" > I recently found a bug here related to IPv4/IPv6. I need to understand > if it is in QEMU or libvirt. > > Paolo >