aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/machine/machine.py
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2023-09-28 15:20:18 +0200
committerJuan Quintela <quintela@redhat.com>2023-10-11 11:17:04 +0200
commitff4c9194599fff94164e0ffa4b5da968973d0523 (patch)
tree2587a35e345bad6c021f581aa959c3b5e554b143 /python/qemu/machine/machine.py
parent5cec563d0cc4d2ce4983f31c472f022f9fd57d7a (diff)
downloadqemu-ff4c9194599fff94164e0ffa4b5da968973d0523.zip
qemu-ff4c9194599fff94164e0ffa4b5da968973d0523.tar.gz
qemu-ff4c9194599fff94164e0ffa4b5da968973d0523.tar.bz2
migration/rdma: Use error_report() & friends instead of stderr
error_report() obeys -msg, reports the current error location if any, and reports to the current monitor if any. Reporting to stderr directly with fprintf() or perror() is wrong, because it loses all this. Fix the offenders. Bonus: resolves a FIXME about problematic use of errno. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20230928132019.2544702-53-armbru@redhat.com>
Diffstat (limited to 'python/qemu/machine/machine.py')
0 files changed, 0 insertions, 0 deletions