From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: remoted migration KVM-guest failed Date: Tue, 24 Jul 2007 22:19:30 -0500 Message-ID: <46A6C142.2000601@codemonkey.ws> References: Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: "Zhang, Jingke" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Zhang, Jingke wrote: > > Hi all, > > I test the migration in KVM-ia32e (using two machines to do remote = > migration), but it failed. > > But if I do it in the local host, it can pass. Does anyone meet the = > same issue? Please give me some help, thank you very much! > > The command I used on the destination (machine B) point is: > > qemu-system-x86_64 . -m 512 -net = > nic,macaddr=3D00:16:3e:3a:2d:56,model=3Drtl8139 -net = > tap,script=3D/etc/kvm/qemu-ifup -hda /root/hvm/ia32e_fc6.img =96incoming = > tcp://0:4444 > > The command I used on the source (machine A) point is: > > qemu-system-x86_64 . -m 512 -net = > nic,macaddr=3D00:16:3e:3a:2d:56,model=3Drtl8139 -net = > tap,script=3D/etc/kvm/qemu-ifup -hda /root/hvm/ia32e_fc6.img and (qemu) = > migrate =96d tcp://192.168.199.69:4444 > > Then the (machine B) shows errors: > > Migrate_incoming_fd failed (rc=3D233) > > Migration failed rc=3D233 > Curious, it indicates that the migration stream is corrupted. Can you do = something like: On machine A: (qemu) migrate "exec://dd of=3Dfoo.img" And then on machine B: cat foo.img | qemu-system-x86_64 . -m 512 -net = nic,macaddr=3D00:16:3e:3a:2d:56,model=3Drtl8139 -net = tap,script=3D/etc/kvm/qemu-ifup -hda /root/hvm/ia32e_fc6.img =96incoming st= dio What version of KVM is this? Are there any patches applied? Regards, Anthony Liguori > BTW, dmesg on machine B shows: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > sw0: port 2(tap0) entering disabled state > > device tap0 left promiscuous mode > > sw0: port 2(tap0) entering disabled state > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Thank you, Zhangjingke > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > kvm-devel mailing list > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/kvm-devel > = ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/