summary refs log tree commit diff stats
path: root/scripts/qapi
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2018-11-01 14:29:09 +0800
committerKevin Wolf <kwolf@redhat.com>2018-11-12 17:46:57 +0100
commitdb0754df88e3ca4797539c1edbde596d871b64b6 (patch)
treebf0e1caabb7dd1c2e7f2be3c2aaf81d272afc83a /scripts/qapi
parent5704c36d25ee84e7129722cb0db53df9faefe943 (diff)
downloadfocaccia-qemu-db0754df88e3ca4797539c1edbde596d871b64b6.tar.gz
focaccia-qemu-db0754df88e3ca4797539c1edbde596d871b64b6.zip
file-posix: Use error API properly
Use error_report for situations that affect user operation (i.e.  we're
actually returning error), and warn_report/warn_report_err when some
less critical error happened but the user operation can still carry on.

For raw_normalize_devicepath, add Error parameter to propagate to
its callers.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions