[virtio-9p] qemu: virtio-9p: Implement LOPEN
commit771e9d4c1cd9ade4bd9b46a9c4367997d1b95fd3
authorM. Mohan Kumar <mohan@in.ibm.com>
Tue, 22 Jun 2010 14:17:04 +0000 (22 19:47 +0530)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 8 Sep 2010 17:26:41 +0000 (8 22:56 +0530)
treea5b7d084631649d7ed39f1972b271290cb4c1c45
parentc7b4b0b302709928b84582881a7b4fb6c1e39e2b
[virtio-9p] qemu: virtio-9p: Implement LOPEN

Implement 9p2000.L version of open(LOPEN) interface in qemu 9p server.

For LOPEN, no need to convert the flags to and from 9p mode to VFS mode.

Synopsis:

    size[4] Tlopen tag[2] fid[4] mode[4]

    size[4] Rlopen tag[2] qid[13] iounit[4]

Current qemu 9p server does not support following flags:
    O_NOCTTY, O_NONBLOCK, O_ASYNC & O_CLOEXEC

[Fix mode format - jvrao@linux.vnet.ibm.com]

Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
hw/virtio-9p.c
hw/virtio-9p.h