Re: [PATCH] virDomainReboot: Document that migration might be unsafe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/21/2013 08:38 AM, Michal Privoznik wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=744967
> 
> If a domain is rebooting and a migrate API is called meanwhile we would
> have to transfer the fakeReboot attribute to the destination in order to
> prevent domain doing plain shutdown over there. We shouldn't try to do
> anything clever about it other than documenting this as known

s/known/a known/

> limitation.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/libvirt.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/src/libvirt.c b/src/libvirt.c
> index ae05300..c4c6d5c 100644
> --- a/src/libvirt.c
> +++ b/src/libvirt.c
> @@ -3434,6 +3434,11 @@ error:
>   * To use guest agent (VIR_DOMAIN_REBOOT_GUEST_AGENT) the domain XML
>   * must have <channel> configured.
>   *
> + * Due to a implementation limitations in some drivers (the qemu driver,

s/a //

> + * for instance) it is not advised to migrate or save a guest that is
> + * rebooting as a result of this API. Migrating such guest can lead to a

s/guest/a guest/

> + * plain shutdown on the destination.
> + *
>   * Returns 0 in case of success and -1 in case of failure.
>   */
>  int
> 


ACK with grammar fixed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]