Peter Xu wrote:
> It converts the old if clauses into switch, explicitly mentions the
> possible migration states. The old nested "if"s are not clear on what
> we do on different states.
>
> Signed-off-by: Peter Xu
> ---
> migration/migration.c | 32 +---
> 1 file ch
It converts the old if clauses into switch, explicitly mentions the
possible migration states. The old nested "if"s are not clear on what
we do on different states.
Signed-off-by: Peter Xu
---
migration/migration.c | 32 +---
1 file changed, 21 insertions(+), 11 dele