qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] qemu-storage-daemon: Only display FUSE help when FUSE is bui


From: Hanna Reitz
Subject: Re: [PATCH] qemu-storage-daemon: Only display FUSE help when FUSE is built-in
Date: Tue, 17 Aug 2021 10:28:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

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 <qinwang@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
  storage-daemon/qemu-storage-daemon.c | 2 ++
  1 file changed, 2 insertions(+)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]