Oh, I think I can describe the problem more specific.
1 Creat the vm in the source host and it run well.
2 Create the image in the destination and change the user and group
3 Open TCP socket in the destination host.
In the source host I use the different command as
1 $ virsh migrate --live --copy-storage-all vmubuntu qemu+ssh://destinationHost/system --verbose
This situation, the error is:
In the source host:
error:operation failed:migration job:unexpectedly failed
In the destiantion host: (from the vm.log)
qemu:Warning: error while loading State ID section 2
This situation, the error is:
In the source host:
error: operation failed : failed to retrieve chardev info inqemu with 'info chardev'
In the destiantion host: (from the vm.log)
Migration failed. Exit code tcp:0.0.0.0:49170(-98),exiting.
Can you help me ? I google the error on the www . But I can not find the proper solutions or the same questions.
Thanks very much.
Best wishes.
2011/10/27 Osier Yang <jyang@xxxxxxxxxx>
于 2011年10月26日 22:22, Luengffy XUE 写道:Hi, allI migrate a vm from source host to the destination host.I am sure every part is ok for migration.1 Create the image in the destination and change the user and group.2 Open TCP socket in the destination host.and I migrate in the source host command line.$ virsh migrate --live --copy-storage-all vmubuntu qemu+ssh://destinationHost/system --verboseBut I get the error"error: operation failed : failed to retrieve chardev info inqemu with 'info chardev'"
Looks like you even failed on starting the domain. Could you confirm if you
guest is actually running well?
In the destination I find in the vmubuntu.logThe error is"Migration failed. Exit code tcp:0.0.0.0:49170(-98),exiting."
What can I do to solve it ?I do not understand how the error comes.Anyone can help me ?Thanks in advance.