[Qemu-devel] Re: [V6 PATCH 5/9] virtio-9p: Add support to open a file in chroot environment

2011-03-03 Thread M. Mohan Kumar
On Thursday 03 March 2011 5:39:55 pm Stefan Hajnoczi wrote: > > +v9fs_write_request(fs_ctx->chroot_socket, request); > > +fd = v9fs_receivefd(fs_ctx->chroot_socket, &sock_error); > > +if (fd < 0 && sock_error) { > > +fs_ctx->chroot_ioerror = 1; > > +} > > chroot_ioerror, so

[Qemu-devel] Re: [V6 PATCH 5/9] virtio-9p: Add support to open a file in chroot environment

2011-03-03 Thread Stefan Hajnoczi
On Thu, Mar 3, 2011 at 1:54 PM, M. Mohan Kumar wrote: > On Thursday 03 March 2011 5:39:55 pm Stefan Hajnoczi wrote: >> > +    v9fs_write_request(fs_ctx->chroot_socket, request); >> > +    fd = v9fs_receivefd(fs_ctx->chroot_socket, &sock_error); >> > +    if (fd < 0 && sock_error) { >> > +        f

[Qemu-devel] Re: [V6 PATCH 5/9] virtio-9p: Add support to open a file in chroot environment

2011-03-03 Thread Stefan Hajnoczi
On Mon, Feb 28, 2011 at 11:22 AM, M. Mohan Kumar wrote: > This patch adds both chroot deamon and qemu side support to open a file/ > directory in the chroot environment > > Signed-off-by: M. Mohan Kumar > --- >  hw/9pfs/virtio-9p-chroot-qemu.c |   24 +++- >  hw/9pfs/virtio-9p-chroot.h