summary refs log tree commit diff stats
path: root/include
diff options
context:
space:
mode:
authorYi Min Zhao <zyimin@linux.vnet.ibm.com>2017-05-16 18:58:44 +0800
committerChristian Borntraeger <borntraeger@de.ibm.com>2017-07-14 12:29:49 +0200
commite7be8d499700f1ebdbfe8094aa19237998c0e1e3 (patch)
treee5f5cb563487c0edc616ff4fcd5e8d8bf82bc9a3 /include
parent3b00f702c236900cca403bdcbed48d59bfec0fba (diff)
downloadfocaccia-qemu-e7be8d499700f1ebdbfe8094aa19237998c0e1e3.tar.gz
focaccia-qemu-e7be8d499700f1ebdbfe8094aa19237998c0e1e3.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/hw/s390x/s390_flic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/s390x/s390_flic.h b/include/hw/s390x/s390_flic.h
index 2f173d905c..7aab6ef7f0 100644
--- a/include/hw/s390x/s390_flic.h
+++ b/include/hw/s390x/s390_flic.h
@@ -89,6 +89,7 @@ typedef struct QEMUS390FLICState {
 void s390_flic_init(void);
 
 S390FLICState *s390_get_flic(void);
+bool ais_needed(void *opaque);
 
 #ifdef CONFIG_KVM
 DeviceState *s390_flic_kvm_create(void);