9p/proxy: Fix export_flags
commit659f1953281bcfa5ac217e42877d7d3c32eeea38
authorGreg Kurz <groug@kaod.org>
Tue, 10 Mar 2020 15:12:49 +0000 (10 16:12 +0100)
committerGreg Kurz <groug@kaod.org>
Tue, 10 Mar 2020 15:12:49 +0000 (10 16:12 +0100)
treeecc6f4aa7c0e58eba1bd0f96db4601cdcc6cd223
parent7f368aed672117980f7f09933e1eb3e1139caae6
9p/proxy: Fix export_flags

The common fsdev options are set by qemu_fsdev_add() before it calls
the backend specific option parsing code. In the case of "proxy" this
means "writeout" or "readonly" were simply ignored. This has been
broken from the beginning.

Reported-by: Stéphane Graber <stgraber@ubuntu.com>
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <158349633705.1237488.8895481990204796135.stgit@bahia.lan>
hw/9pfs/9p-proxy.c