migration: ensure htab_save_first completes after timeout
commit378bc21756f016abfde16a0de4977be49f499b1c
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 11 Feb 2016 00:40:44 +0000 (11 10:40 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 16 Feb 2016 22:59:30 +0000 (17 09:59 +1100)
treea1ec0ecbc297b42719beb2e34a64faadbc25593f
parentfa48b4328c39b2532e47efcfcba6d4031512f514
migration: ensure htab_save_first completes after timeout

htab_save_first_pass could return without finishing its work due to
timeout. The patch checks if another invocation of it is necessary and
will call it in htab_save_complete if necessary.

Signed-off-by: Jianjun Duan <duanj@linux.vnet.ibm.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
[removed overlong line]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c