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

2016-09-13 Thread Zhangbo (Oscar)
Ping As REBOOT is concerned with both qemu and libvirtd, it's not atomic job, thus, it maybe not just qemu's bug. Maybe libvirtd should also send RESET qmp command after migration, what do you think of that? We've tried to send fakeReboot to dest side to fix this problem, it seems to have fi

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

2016-07-16 Thread Zhangbo (Oscar)
>>> 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 gues

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

2016-07-14 Thread Zhangbo (Oscar)
>> 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

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

2016-07-14 Thread Daniel P. Berrange
On Thu, Jul 14, 2016 at 03:13:45AM +, 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 migr

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

2016-07-13 Thread Zhangbo (Oscar)
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 des