On Tue, May 24, 2011 at 1:21 PM, M. Mohan Kumar <mo...@in.ibm.com> wrote: > A new fsdev parameter "readonly" is introduced to control accessing 9p export. > readonly=on|off can be used to specify the access type. By default rw access > is given to 9p export. > > Signed-off-by: M. Mohan Kumar <mo...@in.ibm.com> > --- > Change from previous version V2: > * QEMU_OPT_BOOL is used for readdonly parameter > > Changes from previous version: > * Use "readonly" option instead of "access" > * Change function return type to boolean where its needed > > fsdev/file-op-9p.h | 1 + > fsdev/qemu-fsdev.c | 11 ++++++++++- > fsdev/qemu-fsdev.h | 3 +++ > hw/9pfs/virtio-9p-device.c | 5 +++++ > hw/9pfs/virtio-9p.c | 41 +++++++++++++++++++++++++++++++++++++++++ > qemu-config.c | 7 +++++++ > vl.c | 1 + > 7 files changed, 68 insertions(+), 1 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com>