qemu-e2k/hw
Cornelia Huck d6a9858d24 s390x/event-facility: fix error propagation
We currently check (by error) if the passed-in Error pointer errp
is non-null and return after realizing the first child of the
event facility in that case. Symptom is that 'virsh shutdown'
does not work, as the sclpquiesce device is not realized.

Fix this by (correctly) checking the local Error err.

Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Fixes: 3d508334dd ("s390x/event-facility: Fix realize() error API violations")
Message-Id: <20200121095506.8537-1-cohuck@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2020-01-27 12:13:09 +01:00
..
9pfs * Register qdev properties as class properties (Marc-André) 2020-01-27 09:44:04 +00:00
acpi * Register qdev properties as class properties (Marc-André) 2020-01-27 09:44:04 +00:00
adc
alpha
arm * Register qdev properties as class properties (Marc-André) 2020-01-27 09:44:04 +00:00
audio qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
block qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
bt
char * Register qdev properties as class properties (Marc-André) 2020-01-27 09:44:04 +00:00
core qdev: register properties as class properties 2020-01-24 20:59:16 +01:00
cpu qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
cris cris: improve passing PIC interrupt vector to the CPU 2020-01-07 17:24:29 +04:00
display qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
dma * Register qdev properties as class properties (Marc-André) 2020-01-27 09:44:04 +00:00
gpio qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
hppa
hyperv
i2c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
i386 * Register qdev properties as class properties (Marc-André) 2020-01-27 09:44:04 +00:00
ide qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
input qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
intc s390x: adapter routes error handling 2020-01-27 12:13:09 +01:00
ipack qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
ipmi qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
isa qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
lm32
m68k Clean-ups: qom-ify serial and remove QDEV_PROP_PTR 2020-01-07 17:54:29 +00:00
mem qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
microblaze
mips qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
misc * Register qdev properties as class properties (Marc-André) 2020-01-27 09:44:04 +00:00
moxie
net qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
nios2
nubus
nvram qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
openrisc
pci qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pci-bridge qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pci-host * Register qdev properties as class properties (Marc-André) 2020-01-27 09:44:04 +00:00
pcmcia
ppc qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
rdma qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
riscv * Register qdev properties as class properties (Marc-André) 2020-01-27 09:44:04 +00:00
rtc qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
s390x s390x/event-facility: fix error propagation 2020-01-27 12:13:09 +01:00
scsi qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
sd qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
semihosting semihosting: add qemu_semihosting_console_inc for SYS_READC 2020-01-09 11:41:29 +00:00
sh4 sm501: make SerialMM a child, export chardev property 2020-01-07 17:24:29 +04:00
smbios
sparc qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
sparc64 qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
ssi qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
timer qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
tpm qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
tricore
unicore32
usb qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
vfio qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
virtio * Register qdev properties as class properties (Marc-André) 2020-01-27 09:44:04 +00:00
watchdog qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
xen qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
xenpv
xtensa hw/xtensa: add virt machine 2019-10-18 20:38:10 -07:00
Kconfig
Makefile.objs