2010/3/23 Pasi Kärkkäinen <pasik@iki.fi>
On Tue, Mar 23, 2010 at 02:31:41PM +0800, wei ma wrote:
>    Hi everyone.
>    i've been trying to migrate a domain from hostA to hostB.When i did it
>    with "xm" command,the domain could be migrated successfully,But everytime
>    i did it with
>    "virsh --live migrate <Domain> xen+ssh://root@Destination",
>    it failed and told me something like
>    "Error:Domain not found:xenUnifiedDomainLookupByName".

Did you try using an IP as the destination?

>    The same thing happened when i tried to do the same thing with libvirt API
>    like virDomainMigrate & virDomainMigrateToURI.
>    i am confused about this.
>    So can anybody can tell me why?Thanks a lot.
>    BTW ,my OS is CentOS 5.4 and my hypervisor is xen3.1.2 which is installed
>    with the OS.And the libvirt version is 0.7.7.
>    THANKS A LOT AGAIN.

I think you should report this to redhat bugzilla, if using an IP doesn't fix it.

-- Pasi
It doesn't work with only IP address.It seems that nobody met this issue before,so i guess maybe something is wrong with my configuretion.I've reported that to redhat,but no one answers.:(