spapr: introduce helpers to migrate HPT chunks and the end marker
commit332f7721cbee06d3720d4e2827c10a8b84d8ec19
authorGreg Kurz <groug@kaod.org>
Tue, 19 Sep 2017 14:11:07 +0000 (19 16:11 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 27 Sep 2017 03:05:41 +0000 (27 13:05 +1000)
tree9b141d122f4120ffa91742362b2a55e12b16855e
parent14b0d748877d79d61017e7e38b1ae98c3fd339bc
spapr: introduce helpers to migrate HPT chunks and the end marker

This consolidates some duplicated code in a dedicated helpers.

Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c