[Qemu-devel] [PATCH 3/3] Add helper functions to enable virtio-9p make use of the threadlets

2010-11-15 Thread Arun R Bharadwaj
From: Gautham R Shenoy e...@in.ibm.com infrastructure for offloading blocking tasks such as making posix calls on to the helper threads and handle the post_posix_operations() from the context of the iothread. This frees the vcpu thread to process any other guest operations while the processing of

Re: [Qemu-devel] [PATCH 3/3] Add helper functions to enable virtio-9p make use of the threadlets

2010-11-10 Thread Stefan Hajnoczi
On Wed, Nov 10, 2010 at 1:41 AM, Venkateswararao Jujjuri (JV) jv...@linux.vnet.ibm.com wrote: On 11/9/2010 1:06 AM, Stefan Hajnoczi wrote: On Mon, Nov 8, 2010 at 10:47 AM, Arun R Bharadwaj a...@linux.vnet.ibm.com wrote: + +static struct { +    int rfd; +    int wfd; +    QemuMutex lock; +

[Qemu-devel] [PATCH 3/3] Add helper functions to enable virtio-9p make use of the threadlets

2010-11-10 Thread Arun R Bharadwaj
From: Gautham R Shenoy e...@in.ibm.com infrastructure for offloading blocking tasks such as making posix calls on to the helper threads and handle the post_posix_operations() from the context of the iothread. This frees the vcpu thread to process any other guest operations while the processing of

Re: [Qemu-devel] [PATCH 3/3] Add helper functions to enable virtio-9p make use of the threadlets

2010-11-10 Thread Stefan Hajnoczi
On Wed, Nov 10, 2010 at 1:19 PM, Arun R Bharadwaj a...@linux.vnet.ibm.com wrote: +static void v9fs_process_post_ops(void *arg) +{ +    int count = 0; +    struct V9fsPostOp *post_op; +    int ret; +    char byte; + +    qemu_mutex_lock(v9fs_async_struct.lock); I don't think it is

Re: [Qemu-devel] [PATCH 3/3] Add helper functions to enable virtio-9p make use of the threadlets

2010-11-09 Thread Stefan Hajnoczi
On Mon, Nov 8, 2010 at 10:47 AM, Arun R Bharadwaj a...@linux.vnet.ibm.com wrote: diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c index 7c59988..61b65fd 100644 --- a/hw/virtio-9p.c +++ b/hw/virtio-9p.c @@ -18,6 +18,7 @@  #include fsdev/qemu-fsdev.h  #include virtio-9p-debug.h  #include

[Qemu-devel] [PATCH 3/3] Add helper functions to enable virtio-9p make use of the threadlets

2010-11-08 Thread Arun R Bharadwaj
From: Gautham R Shenoy e...@in.ibm.com infrastructure for offloading blocking tasks such as making posix calls on to the helper threads and handle the post_posix_operations() from the context of the iothread. This frees the vcpu thread to process any other guest operations while the processing of

Re: [Qemu-devel] [PATCH 3/3] Add helper functions to enable virtio-9p make use of the threadlets

2010-11-08 Thread Venkateswararao Jujjuri (JV)
On 11/8/2010 2:47 AM, Arun R Bharadwaj wrote: From: Gautham R Shenoy e...@in.ibm.com infrastructure for offloading blocking tasks such as making posix calls on to the helper threads and handle the post_posix_operations() from the context of the iothread. This frees the vcpu thread to process

[Qemu-devel] [PATCH 3/3] Add helper functions to enable virtio-9p make use of the threadlets

2010-10-26 Thread Arun R Bharadwaj
From: Gautham R Shenoy e...@in.ibm.com infrastructure for offloading blocking tasks such as making posix calls on to the helper threads and handle the post_posix_operations() from the context of the iothread. This frees the vcpu thread to process any other guest operations while the processing of

Re: [Qemu-devel] [PATCH 3/3] Add helper functions to enable virtio-9p make use of the threadlets

2010-10-23 Thread Stefan Hajnoczi
My review comments from the last version still stand: http://permalink.gmane.org/gmane.comp.emulators.qemu/82796 Stefan

Re: [Qemu-devel] [PATCH 3/3] Add helper functions to enable virtio-9p make use of the threadlets

2010-10-22 Thread Venkateswararao Jujjuri (JV)
On 10/21/2010 5:10 AM, Arun R Bharadwaj wrote: From: Gautham R Shenoy e...@in.ibm.com infrastructure for offloading blocking tasks such as making posix calls on to the helper threads and handle the post_posix_operations() from the context of the iothread. This frees the vcpu thread to

Re: [Qemu-devel] [PATCH 3/3] Add helper functions to enable virtio-9p make use of the threadlets

2010-10-21 Thread Arun R Bharadwaj
* Arun R Bharadwaj a...@linux.vnet.ibm.com [2010-10-21 17:40:55]: From: Gautham R Shenoy e...@in.ibm.com infrastructure for offloading blocking tasks such as making posix calls on to the helper threads and handle the post_posix_operations() from the context of the iothread. This frees the