aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDominik Dingel <[email protected]>2013-12-09 18:30:01 +0100
committerCornelia Huck <[email protected]>2013-12-11 19:05:41 +0100
commitff1f3cb4b3ac5d039f02679f34cb1498d110d241 (patch)
tree35dcfbab1107a734ebd58ffd1ff5000e7c804965 /scripts
parent58bc33b2b700f8524772f3fc20272da2187060c8 (diff)
KVM: s390: ioeventfd: ignore leftmost bits
The diagnose 500 subcode 3 contains the 32 bit subchannel id in bits 32-63 (counting from the left). As for other I/O instructions, bits 0-31 should be ignored and thus not be passed to kvm_io_bus_write_cookie(). This fixes a bug where the guest passed non-zero bits 0-31 which the host tried to interpret, leading to ioeventfd notification failures. Cc: [email protected] Signed-off-by: Dominik Dingel <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Signed-off-by: Cornelia Huck <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions