qemu/hw/s390x
Thomas Huth f2c55d1735 s390x/virtio-hcall: Add range check for hypervisor call
The handler for diag 500 did not check whether the requested function
was in the supported range, so illegal values could crash QEMU in the
worst case.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
CC: qemu-stable@nongnu.org
2014-02-27 09:51:25 +01:00
..
css.c exec: Make stw_*_phys input an AddressSpace 2014-02-11 22:57:32 +10:00
css.h virtio-ccw: Wire up ioeventfd. 2013-06-25 17:11:11 +02:00
event-facility.c s390-sclp: SCLP Event integration 2014-01-21 16:48:39 +01:00
ipl.c sysbus: Set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
Makefile.objs s390-sclp: SCLP Event integration 2014-01-21 16:48:39 +01:00
s390-virtio-bus.c exec: Make stb_phys input an AddressSpace 2014-02-11 22:57:38 +10:00
s390-virtio-bus.h virtio-bus: make virtio_x_bus_new static. 2013-04-24 11:50:20 -05:00
s390-virtio-ccw.c s390x/kvm: implement floating-interrupt controller device 2014-02-27 09:51:25 +01:00
s390-virtio-hcall.c s390x/virtio-hcall: Add range check for hypervisor call 2014-02-27 09:51:25 +01:00
s390-virtio.c s390x/kvm: implement floating-interrupt controller device 2014-02-27 09:51:25 +01:00
s390-virtio.h S390: IPL: Use different firmware for different machines 2013-04-26 20:18:24 +02:00
sclp.c s390-sclp: SCLP CPU Info 2014-01-21 16:20:57 +01:00
sclpcpu.c s390-sclp: SCLP Event integration 2014-01-21 16:48:39 +01:00
sclpquiesce.c s390/eventfacility: allow childs to handle more than 1 event type 2013-09-20 13:55:30 +02:00
virtio-ccw.c exec: Make stw_*_phys input an AddressSpace 2014-02-11 22:57:32 +10:00
virtio-ccw.h virtio-ccw: remove vdev field 2013-12-09 21:46:48 +01:00