diff options
author | Yi Min Zhao | 2016-04-26 13:26:32 +0200 |
---|---|---|
committer | Cornelia Huck | 2016-05-17 15:50:29 +0200 |
commit | bac45d5147fbe832428944610c70484b18539292 (patch) | |
tree | e2c87df29ad3edad3eec01b3910b24b59d20d21b /hw/s390x/sclp.c | |
parent | hw/char: QOM'ify sclpconsole.c (diff) | |
download | qemu-bac45d5147fbe832428944610c70484b18539292.tar.gz qemu-bac45d5147fbe832428944610c70484b18539292.tar.xz qemu-bac45d5147fbe832428944610c70484b18539292.zip |
s390x/pci: fix reg_irqs()
In reg_irqs(), present code assumes that map_indicator() always issues
successfully. Let's check it and return the error to caller in order to
inform guest.
Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Reviewed-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw/s390x/sclp.c')
0 files changed, 0 insertions, 0 deletions