diff options
author | 2018-01-03 20:20:12 +0800 | |
---|---|---|
committer | 2018-01-15 12:48:10 +0100 | |
commit | 39b9e17905c5ff8302c0ff17af546cbf68e0b4f6 (patch) | |
tree | 7f59719b57d2b121ece385ff5287503b8fa9f5b7 /hw/misc/omap_clk.c | |
parent | migration: introduce migrate_calculate_complete (diff) | |
download | qemu-39b9e17905c5ff8302c0ff17af546cbf68e0b4f6.tar.xz qemu-39b9e17905c5ff8302c0ff17af546cbf68e0b4f6.zip |
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 <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hw/misc/omap_clk.c')
0 files changed, 0 insertions, 0 deletions