OSDN Git Service

spapr: Add a "no HPT" encoding to HTAB migration stream
authorBharata B Rao <bharata@linux.vnet.ibm.com>
Mon, 12 Jun 2017 05:32:34 +0000 (11:02 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 30 Jun 2017 04:03:31 +0000 (14:03 +1000)
commit3a38429748aa4f74abaecf16c4c087e8a325e12a
tree8db8bfdee70168c52046f78e829d98c63e99b2be
parentd5fc133eed862b815a5eb421ad60cc73ed13c74c
spapr: Add a "no HPT" encoding to HTAB migration stream

Add a "no HPT" encoding (using value -1) to the HTAB migration
stream (in the place of HPT size) when the guest doesn't allocate HPT.
This will help the target side to match target HPT with the source HPT
and thus enable successful migration.

Suggested-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c