fsdev: Error out when unsupported option is passed
commitaee7f3ecd8b7c3f761fde2ca5d2b4d8c45b6dfa0
authorGreg Kurz <groug@kaod.org>
Fri, 17 May 2019 15:34:48 +0000 (17 17:34 +0200)
committerGreg Kurz <groug@kaod.org>
Fri, 17 May 2019 15:34:48 +0000 (17 17:34 +0200)
tree8b5f483afc9c80d8cd34393423239fa501111127
parent202324357397435bb572734e3fd4e1eed86b04f9
fsdev: Error out when unsupported option is passed

Each fsdriver only supports a subset of the options that can be passed
to -fsdev. Unsupported options are simply ignored. This could cause the
user to erroneously think QEMU has a bug.

Enforce strict checking of supported options for all fsdrivers. This
shouldn't impact libvirt, since it doesn't know about the synth and
proxy fsdrivers.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
fsdev/qemu-fsdev.c