virtiofsd: Error on bad socket group name
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 14 Oct 2021 12:25:54 +0000 (13:25 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 25 Oct 2021 18:38:32 +0000 (19:38 +0100)
commit555a76e5e5dc2cd3c84c5e1bc060be17d5b32584
treea50f7407af869380f76876606ba80cb41d95a5ee
parent50cf6d6cb7b6b0e43f626da2a65d7277add21bd9
virtiofsd: Error on bad socket group name

Make the '--socket-group=' option fail if the group name is unknown:

./tools/virtiofsd/virtiofsd .... --socket-group=zaphod
vhost socket: unable to find group 'zaphod'

Reported-by: Xiaoling Gao <xiagao@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20211014122554.34599-1-dgilbert@redhat.com>
Reviewed-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/fuse_virtio.c