aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/ioinst.h
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2013-02-06 10:31:37 +0100
committerCornelia Huck <cornelia.huck@de.ibm.com>2014-03-05 09:42:05 +0100
commit7e7494627f43b26c565a132639d82de260c26cc8 (patch)
treecd1008e1ead2a515aefab64a4cf75291637a5866 /target-s390x/ioinst.h
parentf55ea6297cc0224fe4934b90ff5343b620b14669 (diff)
s390x/virtio-ccw: Adapter interrupt support.
Handle the new CCW_CMD_SET_IND_ADAPTER command enabling adapter interrupts on guest request. When active, host->guest notifications will be handled via global_indicator -> queue indicators instead of queue indicators + subchannel I/O interrupt. Indicators for virtqueues may be present at an offset. Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'target-s390x/ioinst.h')
-rw-r--r--target-s390x/ioinst.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-s390x/ioinst.h b/target-s390x/ioinst.h
index 613da49b3b..5bbc67d15e 100644
--- a/target-s390x/ioinst.h
+++ b/target-s390x/ioinst.h
@@ -212,6 +212,8 @@ typedef struct IOIntCode {
#define IO_INT_WORD_ISC(_int_word) ((_int_word & 0x38000000) >> 24)
#define ISC_TO_ISC_BITS(_isc) ((0x80 >> _isc) << 24)
+#define IO_INT_WORD_AI 0x80000000
+
int ioinst_disassemble_sch_ident(uint32_t value, int *m, int *cssid, int *ssid,
int *schid);
void ioinst_handle_xsch(S390CPU *cpu, uint64_t reg1);