Skip to content
Snippets Groups Projects
Commit 9340528a authored by Jiri Denemark's avatar Jiri Denemark
Browse files

Fix usage of virReportSystemError


virReportSystemError is reserved for reporting system errors, calling it
with VIR_ERR_* error codes produces error messages that do not make any
sense, such as

    internal error: guest failed to start: Kernel doesn't support user
    namespace: Link has been severed

We should prohibit wrong usage with a syntax-check rule.

Signed-off-by: default avatarJiri Denemark <jdenemar@redhat.com>
parent b09b9266
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment