On 16.08.21 20:04, Philippe Mathieu-Daudé wrote:
When configuring QEMU with --disable-fuse, the qemu-storage-daemon
still reports FUSE command line options in its help:

   $ qemu-storage-daemon -h
   Usage: qemu-storage-daemon [options]
   QEMU storage daemon

     --export [type=]fuse,id=<id>,node-name=<node-name>,mountpoint=<file>
              [,growable=on|off][,writable=on|off]
                            export the specified block node over FUSE

Remove this help message when FUSE is disabled, to avoid:

   $ qemu-storage-daemon --export fuse
   qemu-storage-daemon: --export fuse: Invalid parameter 'fuse'

Reported-by: Qing Wang <qinw...@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com>
---
  storage-daemon/qemu-storage-daemon.c | 2 ++
  1 file changed, 2 insertions(+)

Reviewed-by: Hanna Reitz <hre...@redhat.com>


Reply via email to