Chris Lalancette wrote:
Note that there is a FIXME in the code. When testing this out
with kvm-78,
I found that if I let the source side kill the source VM immediately after the
"migrate" monitor command completed, the migration to the destination would
never complete. This seems to be a bug in Qemu; the migrate monitor command
shouldn't return until the migrate is really, truly complete. I'm posting this
now so I can get reviews, and start to address review comments while I try to
figure out what's going on with Qemu. With my temporary hack of the sleep()
call in there, though, I was able to successfully live migrate an F-9 guest
between two machines.
I reported this to upstream Qemu, and it seems that Anthony committed a fix for
it. I removed the sleep and re-tested it with Anthony's fix in my copy of KVM,
and it seems to have worked. I'll re-submit without the sleep (once I have a
few further review comments).
--
Chris Lalancette