[Engine-devel] Migration status of a VM

Livnat Peer lpeer at redhat.com
Tue Jul 24 08:12:54 UTC 2012


On 24/07/12 10:39, Itzik Brown wrote:
> Hi,
> 
>  
> 
> Is it possible to know the status of a VM through the API – whether it's
> in a migration process and if it is , what are the source and destination?
> 
>  
> 
> Thanks,
> 
> Itzik
> 

Hi Itzik,

The status is part of the VM in the API, when the VM is migrating the VM
status changes to migrating

The source host is available in the VM in property named host (it is
mapped to run_on_vds in the backend)

The destination - well it seems to not be mapped in the api, in the
backend we hold it in VmDynamic migrating_to_vds

Ori - do you know why we don't have it in the VM in the API?

Anyway it looks like an easy fix and maybe you can open a BZ for it.


Livnat




> 
> 
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 





More information about the Devel mailing list