Revision 834a846eee9588ac672cb504677490c28b597871 authored by Cornelia Huck on 02 May 2018, 12:52:21 UTC, committed by Michael Roth on 21 June 2018, 01:45:02 UTC
We currently pass an integer as the subcode parameter. However,
the upper bits of the register containing the subcode need to
be 0, which is not guaranteed unless we explicitly specify the
subcode to be an unsigned long value.

Fixes: d046c51dad3 ("pc-bios/s390-ccw: Get device address via diag 308/6")
Cc: qemu-stable@nongnu.org
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit 63d8b5ace31c1e1f3996fe4cd551d6d377594d5a)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
1 parent 0304f75
History
File Mode Size
accel.h -rw-r--r-- 2.5 KB
arch_init.h -rw-r--r-- 1.5 KB
balloon.h -rw-r--r-- 688 bytes
block-backend.h -rw-r--r-- 10.8 KB
blockdev.h -rw-r--r-- 2.0 KB
bt.h -rw-r--r-- 624 bytes
cpus.h -rw-r--r-- 1.1 KB
cryptodev.h -rw-r--r-- 10.4 KB
device_tree.h -rw-r--r-- 7.3 KB
dma.h -rw-r--r-- 7.4 KB
dump-arch.h -rw-r--r-- 969 bytes
dump.h -rw-r--r-- 8.5 KB
hax.h -rw-r--r-- 1.3 KB
hostmem.h -rw-r--r-- 1.9 KB
hw_accel.h -rw-r--r-- 1.2 KB
iothread.h -rw-r--r-- 1.4 KB
kvm.h -rw-r--r-- 17.5 KB
kvm_int.h -rw-r--r-- 839 bytes
memory_mapping.h -rw-r--r-- 2.5 KB
numa.h -rw-r--r-- 1.4 KB
os-posix.h -rw-r--r-- 2.9 KB
os-win32.h -rw-r--r-- 6.1 KB
qtest.h -rw-r--r-- 626 bytes
replay.h -rw-r--r-- 5.8 KB
reset.h -rw-r--r-- 272 bytes
rng-random.h -rw-r--r-- 502 bytes
rng.h -rw-r--r-- 2.6 KB
seccomp.h -rw-r--r-- 727 bytes
sysemu.h -rw-r--r-- 6.9 KB
tpm.h -rw-r--r-- 986 bytes
tpm_backend.h -rw-r--r-- 4.8 KB
watchdog.h -rw-r--r-- 1.4 KB
xen-mapcache.h -rw-r--r-- 1.7 KB

back to top