]> Git Repo - qemu.git/commit
block: Eliminate silly QERR_ macros used for encryption keys
authorMarkus Armbruster <[email protected]>
Thu, 29 Jan 2015 09:37:01 +0000 (10:37 +0100)
committerMax Reitz <[email protected]>
Fri, 6 Feb 2015 16:46:32 +0000 (11:46 -0500)
commitb1ca639184d93984551b423d8e538ad4add5eb15
tree76aa97eea763dd725edada2b3d210f27b8f7af5a
parent4d2855a348c5e90f56584ab9777fc877965ca2e0
block: Eliminate silly QERR_ macros used for encryption keys

The QERR_ macros are leftovers from the days of "rich" error objects.
They're used with error_set() and qerror_report(), and expand into the
first *two* arguments.  This trickiness has become pointless.  Clean
up QERR_DEVICE_ENCRYPTED and QERR_DEVICE_NOT_ENCRYPTED.

Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-id: 1422524221[email protected]
Reviewed-by: Max Reitz <[email protected]>
Signed-off-by: Max Reitz <[email protected]>
block.c
include/qapi/qmp/qerror.h
This page took 0.02388 seconds and 4 git commands to generate.