]> Git Repo - qemu.git/commit - target-s390x/kvm.c
s390x/kvm: Fixup interrupt type for non-adapter I/O interrupts
authorChristian Borntraeger <[email protected]>
Mon, 6 Jun 2016 14:57:50 +0000 (16:57 +0200)
committerCornelia Huck <[email protected]>
Tue, 14 Jun 2016 12:00:05 +0000 (14:00 +0200)
commit393ad2a4a15db3836698de0e11249b4ec9dafb11
treee3c198dc788355b3b97fd0ca7539bfe8c06950ff
parentdcddc75e4756eac166bb002f71dfb09aca9b59fc
s390x/kvm: Fixup interrupt type for non-adapter I/O interrupts

The current algorithm for I/O interrupts would result in a wrong
interrupt type for subchannel numbers fffe and ffff. In addition
a non adapter interrupt might look like an adapter interrupt for
any subchannel number that has the 0x0400 bit set.

No kernel has ever used the type outside logging - and the logging
was wrong all the time. For everything else the kernel used the
interrupt parameters.

Let's use the KVM_S390_INT_IO macro as for adapter interrupts.

Signed-off-by: Christian Borntraeger <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Acked-by: Cornelia Huck <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
target-s390x/kvm.c
This page took 0.024385 seconds and 4 git commands to generate.