qemu/storage-daemon
Paolo Bonzini 501a4b3681 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>
2021-03-08 14:55:18 +01:00
..
qapi docs: generate qemu-storage-daemon-qmp-ref(7) man page 2020-12-18 11:48:39 +01:00
meson.build meson: Propagate gnutls dependency 2021-01-12 12:38:03 +01:00
qemu-storage-daemon.c storage-daemon: include current command line option in the errors 2021-03-08 14:55:18 +01:00