]> git.ipfire.org Git - thirdparty/qemu.git/commit
9p/proxy: Fix export_flags
authorGreg Kurz <groug@kaod.org>
Tue, 10 Mar 2020 15:12:49 +0000 (16:12 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 16 Jun 2020 22:21:28 +0000 (17:21 -0500)
commit410252fc5b2aaef65b793edd37289284c1a4eb91
tree26c6cdd3be08cb3e4d977924432aa6e040710aee
parent603cda272d2590e53039d8fc5317e9f5fb8fffb7
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>
(cherry picked from commit 659f1953281bcfa5ac217e42877d7d3c32eeea38)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/9pfs/9p-proxy.c