s390x/flic: migrate ais states
commite7be8d499700f1ebdbfe8094aa19237998c0e1e3
authorYi Min Zhao <zyimin@linux.vnet.ibm.com>
Tue, 16 May 2017 10:58:44 +0000 (16 18:58 +0800)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 14 Jul 2017 10:29:49 +0000 (14 12:29 +0200)
treee5f5cb563487c0edc616ff4fcd5e8d8bf82bc9a3
parent3b00f702c236900cca403bdcbed48d59bfec0fba
s390x/flic: migrate ais states

During migration we should transfer ais states to the target guest.
This patch introduces a subsection to kvm_s390_flic_vmstate and new
vmsd for qemu_flic. The ais states need to be migrated only when
ais is supported.

Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
hw/intc/s390_flic.c
hw/intc/s390_flic_kvm.c
include/hw/s390x/s390_flic.h