mirror of
https://github.com/mborgerson/xemu.git
synced 2026-03-30 14:13:22 +00:00
172fc4dd33e604dcf868c28e73398c19e161708b
Using error_is_set(errp) that way can sweep programming errors under the carpet when we get called incorrectly with an error set. Commit24d3bd6added a broken error path to iscsi_do_inquiry(): it first calls error_setg(), then jumps to the preexisting error label, where error_setg() gets called again, triggering an assertion failure. Commitcbee81ffixed this by guarding the second error_setg() with an error_is_set(). Replace this fix by a simpler and safer one: jump right behind the second error_setg(). Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
…
…
…
…
…
…
…
…
Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org - QEMU team
Description
Languages
C
82.6%
C++
7%
Python
3.3%
Dylan
2.8%
Shell
1.5%
Other
2.5%