qemu-patch-raspberry4/hw/s390x
Andreas Färber ab290630fa s390-virtio: Check for NULL device in reset hypercall
s390_virtio_bus_find_mem() may return a NULL VirtIOS390Device.
If called with, e.g., args[0] == 0, this leads to a segfault.
Fix this by adding error handling as done for other hypercalls.

Present since baf0b55a9e (Implement
virtio reset).

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-01-29 21:50:04 +01:00
..
css.c s390: Virtual channel subsystem support. 2013-01-29 21:50:04 +01:00
css.h s390: Virtual channel subsystem support. 2013-01-29 21:50:04 +01:00
event-facility.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
event-facility.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
ipl.c s390: Make typeinfo const 2013-01-29 21:50:04 +01:00
Makefile.objs s390: Move hw files to hw/s390x 2013-01-29 21:50:04 +01:00
s390-virtio-bus.c s390: Move hw files to hw/s390x 2013-01-29 21:50:04 +01:00
s390-virtio-bus.h s390: Move hw files to hw/s390x 2013-01-29 21:50:04 +01:00
s390-virtio-hcall.c s390: Move hw files to hw/s390x 2013-01-29 21:50:04 +01:00
s390-virtio.c s390-virtio: Check for NULL device in reset hypercall 2013-01-29 21:50:04 +01:00
s390-virtio.h s390: Move hw files to hw/s390x 2013-01-29 21:50:04 +01:00
sclp.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
sclp.h s390x: Spelling fixes (endianess -> endianness, occured -> occurred) 2012-12-07 12:34:11 +01:00
sclpconsole.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
sclpquiesce.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
virtio-ccw.c s390: Add new channel I/O based virtio transport. 2013-01-29 21:50:04 +01:00
virtio-ccw.h s390: Add new channel I/O based virtio transport. 2013-01-29 21:50:04 +01:00