summary refs log tree commit diff stats
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-03-01 10:28:44 -0500
committerKevin Wolf <kwolf@redhat.com>2021-03-08 14:55:18 +0100
commit501a4b3681c90bbcf610fbbd6335c26af30668d7 (patch)
treeb4862e6a07064a9a2938964978123aa34fe4ca92 /hw/avr/arduino.c
parenta5ef35052e66721e9f943b2b9a91176536b4d896 (diff)
downloadfocaccia-qemu-501a4b3681c90bbcf610fbbd6335c26af30668d7.tar.gz
focaccia-qemu-501a4b3681c90bbcf610fbbd6335c26af30668d7.zip
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 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions