summary refs log tree commit diff stats
path: root/hw/intc/s390_flic.c
diff options
context:
space:
mode:
authorFei Li <sherrylf@linux.vnet.ibm.com>2017-03-07 04:07:44 +0100
committerChristian Borntraeger <borntraeger@de.ibm.com>2017-07-14 12:29:47 +0200
commit1497c1606615b0b08d1b1f78afd1dcf2585879c0 (patch)
tree5ba92e116e000e53a888f1fae001cfccabd1e0c9 /hw/intc/s390_flic.c
parentc9ad8a7a53b9f167626a32fe7c1116f8844156db (diff)
downloadfocaccia-qemu-1497c1606615b0b08d1b1f78afd1dcf2585879c0.tar.gz
focaccia-qemu-1497c1606615b0b08d1b1f78afd1dcf2585879c0.zip
s390x: add flags field for registering I/O adapter
Introduce a new 'flags' field to IoAdapter to contain further
characteristics of the adapter, like whether the adapter is subject to
adapter-interruption suppression.

For the kvm case, pass this value in the 'flags' field when
registering an adapter.

Signed-off-by: Fei Li <sherrylf@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'hw/intc/s390_flic.c')
-rw-r--r--hw/intc/s390_flic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/s390_flic.c b/hw/intc/s390_flic.c
index 837158bdaf..d3938b332b 100644
--- a/hw/intc/s390_flic.c
+++ b/hw/intc/s390_flic.c
@@ -48,7 +48,7 @@ void s390_flic_init(void)
 
 static int qemu_s390_register_io_adapter(S390FLICState *fs, uint32_t id,
                                          uint8_t isc, bool swap,
-                                         bool is_maskable)
+                                         bool is_maskable, uint8_t flags)
 {
     /* nothing to do */
     return 0;