aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-02-09 12:14:41 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2017-02-22 11:28:28 +1100
commitfb38ebfbfe16ed776a895869d2a018c9d417b754 (patch)
tree5e52894bed796d00ec3fa064d70a7c7f83020c47 /scripts/qapi-commands.py
parenttarget/ppc/POWER9: Direct all instr and data storage interrupts to the hypv (diff)
downloadqemu-fb38ebfbfe16ed776a895869d2a018c9d417b754.tar.xz
qemu-fb38ebfbfe16ed776a895869d2a018c9d417b754.zip
hw/pci-host/prep: Do not use hw_error() in realize function
hw_error() is for CPU related errors only (it prints out a register dump and calls abort()), so we should not use it if we just failed to load the bios image. Apart from that, realize() functions should not exit directly but always set the errp with error_setg() in case of errors instead. Additionally, move some code around and delete the bios memory subregion again in case of such an error, so that we leave a clean state when returning to the caller. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Hervé Poussineau <hpoussin@reactos.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions