On 27/11/2015 12:42, Peter Xu wrote:
> > As mentioned early, you can use an enum.  QEMU usually prints enums in
> > lowercase and separates words with "-".  Similar to MigrationStatus you
> > can use none, active, completed, failed.  In fact you might even reuse
> > MigrationStatus directly, it's simpler.
> 
> I think it might be a little big confusing if I use MigrationStatus
> directly. I can define a enum. 

Sure, that's fine.  Though there is more than a little similarity
between migration and dump...  (essentially, migration is a dump with a
custom format and with additional support for storing device state).

Paolo

Reply via email to