[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V3] virtio-9p: Add Read only support for 9p expo
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH V3] virtio-9p: Add Read only support for 9p export. |
Date: |
Tue, 24 May 2011 13:31:11 +0100 |
On Tue, May 24, 2011 at 1:21 PM, M. Mohan Kumar <address@hidden> 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 <address@hidden>
> ---
> 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 <address@hidden>