]> Git Repo - qemu.git/commit
migration: use switch at the end of migration
authorPeter Xu <[email protected]>
Wed, 3 Jan 2018 12:20:12 +0000 (20:20 +0800)
committerJuan Quintela <[email protected]>
Mon, 15 Jan 2018 11:48:10 +0000 (12:48 +0100)
commit39b9e17905c5ff8302c0ff17af546cbf68e0b4f6
tree7f59719b57d2b121ece385ff5287503b8fa9f5b7
parentcf011f082d7a2a9abfc0a257cc4de1cfcfbef24d
migration: use switch at the end of migration

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 <[email protected]>
Reviewed-by: Juan Quintela <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
migration/migration.c
This page took 0.020829 seconds and 4 git commands to generate.