s390x: Migrate guest storage keys (initial memory only)
commit186208fa1fa1b4fa1fe0b77c0fa61b9c0de6d66d
authorJason J. Herne <jjherne@linux.vnet.ibm.com>
Fri, 26 Jun 2015 18:11:23 +0000 (26 14:11 -0400)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 3 Sep 2015 10:17:54 +0000 (3 12:17 +0200)
treee52f30065dcf62dec38b03ae01bae9164dad9509
parenta08f0081c9886c1914d7bc2e6a29636a769fec84
s390x: Migrate guest storage keys (initial memory only)

Routines to save/load guest storage keys are provided. register_savevm is
called to register them as migration handlers.

We prepare the protocol to support more complex parameters. So we will
later be able to support standby memory (having empty holes), compression
and "state live migration" like done for ram.

Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/s390-skeys.c