diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2014-05-28 14:15:57 +0200 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2014-06-10 09:50:26 +0200 |
commit | 08da527fd07cf01dc29ca60a144fbdd60b0fb7c0 (patch) | |
tree | 342b82fbb14f85580a6d7a835d33738ba12ddbfd /target-s390x | |
parent | f068d320def7fd83bf0fcdca37b305f1c2ac5413 (diff) |
s390x/kvm: make flic play well with old kernels
If we run with an old kernel that does not support KVM_CAP_IRQ_ROUTING,
we don't have to do anything in the ->register_io_adapter and
->io_adapter_map callbacks and therefore should return 0 instead of
-ENOSYS (just as the non-kvm flic does).
This fixes using adapter interrupts when running under an older kernel,
which broke with "s390x: add I/O adapter registration".
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'target-s390x')
0 files changed, 0 insertions, 0 deletions