s390x/css: add missing css state conditionally
commit457af62603c835a9fc235857b40140eaedcf999c
authorHalil Pasic <pasic@linux.vnet.ibm.com>
Tue, 11 Jul 2017 14:54:38 +0000 (11 16:54 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 14 Jul 2017 10:29:47 +0000 (14 12:29 +0200)
tree3d4f9f4dd6a1a9df9785b29659dece36b8b1db8c
parent52629b3ba871e606a55e4366d82193055ad34d11
s390x/css: add missing css state conditionally

Although we have recently vmstatified the migration of some css
infrastructure,  for some css entities there is still state to be
migrated left, because the focus was keeping migration stream
compatibility (that is basically everything as-is).

Let us add vmstate helpers and extend existing vmstate descriptions so
that we have everything we need. Let us guard the added state via
css_migration_enabled, so we keep the compatible behavior if css
migration is disabled.

Let's also annotate the bits which do not need to be migrated for better
readability.

Signed-off-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20170711145441.33925-4-pasic@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
hw/intc/s390_flic.c
hw/s390x/css.c