diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-01 10:28:44 -0500 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-03-08 14:55:18 +0100 |
commit | 501a4b3681c90bbcf610fbbd6335c26af30668d7 (patch) | |
tree | b4862e6a07064a9a2938964978123aa34fe4ca92 /.gitpublish | |
parent | a5ef35052e66721e9f943b2b9a91176536b4d896 (diff) |
storage-daemon: include current command line option in the errors
Use the location management facilities that the emulator uses, so that
the current command line option appears in the error message.
Before:
$ storage-daemon/qemu-storage-daemon --nbd key..=
qemu-storage-daemon: Invalid parameter 'key..'
After:
$ storage-daemon/qemu-storage-daemon --nbd key..=
qemu-storage-daemon: --nbd key..=: Invalid parameter 'key..'
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210301152844.291799-3-pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to '.gitpublish')
0 files changed, 0 insertions, 0 deletions