From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOqlV-0001lP-IO for qemu-devel@nongnu.org; Tue, 24 May 2011 08:31:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOqlU-0004q0-Ln for qemu-devel@nongnu.org; Tue, 24 May 2011 08:31:13 -0400 Received: from mail-yx0-f173.google.com ([209.85.213.173]:34850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOqlU-0004pv-IH for qemu-devel@nongnu.org; Tue, 24 May 2011 08:31:12 -0400 Received: by yxk8 with SMTP id 8so3021550yxk.4 for ; Tue, 24 May 2011 05:31:12 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1306239693-6606-1-git-send-email-mohan@in.ibm.com> References: <1306239693-6606-1-git-send-email-mohan@in.ibm.com> Date: Tue, 24 May 2011 13:31:11 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH V3] virtio-9p: Add Read only support for 9p export. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "M. Mohan Kumar" Cc: rlandley@parallels.com, qemu-devel@nongnu.org On Tue, May 24, 2011 at 1:21 PM, M. Mohan Kumar wrote: > A new fsdev parameter "readonly" is introduced to control accessing 9p ex= port. > readonly=3Don|off can be used to specify the access type. By default rw a= ccess > is given to 9p export. > > Signed-off-by: M. Mohan Kumar > --- > 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 > > =A0fsdev/file-op-9p.h =A0 =A0 =A0 =A0 | =A0 =A01 + > =A0fsdev/qemu-fsdev.c =A0 =A0 =A0 =A0 | =A0 11 ++++++++++- > =A0fsdev/qemu-fsdev.h =A0 =A0 =A0 =A0 | =A0 =A03 +++ > =A0hw/9pfs/virtio-9p-device.c | =A0 =A05 +++++ > =A0hw/9pfs/virtio-9p.c =A0 =A0 =A0 =A0| =A0 41 ++++++++++++++++++++++++++= +++++++++++++++ > =A0qemu-config.c =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A07 +++++++ > =A0vl.c =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A01 + > =A07 files changed, 68 insertions(+), 1 deletions(-) Reviewed-by: Stefan Hajnoczi