[libvirt] qemu: migration: shall we abort migration while the guest is rebooting?

Daniel P. Berrange berrange at redhat.com
Thu Jul 14 07:57:53 UTC 2016


On Thu, Jul 14, 2016 at 03:13:45AM +0000, Zhangbo (Oscar) wrote:
> Hi all:
>   Here's the steps we produce the problem: 
>   1 reboot guest with the flag of VIR_DOMAIN_REBOOT_ACPI_POWER_BTN
>   2 sleep 1 second (so that the guest is still rebooting, although the API already returned.)
>   3 migrate the guest
> 
>   The problem is that : the guest failed to migrate to the dest, and crashed on source side.
> 
>   We don't bother to dig further into the problem, the root cause we think is that we migrate a guest while it's rebooting.

Migration is expected to work no matter what state the guest OS is currently
in. So the fact that its rebooting should be irrelevant. If anything bad happens
then its a bug in QEMU most likely


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list