Re: [Qemu-devel] [PATCH 02/25] [virtio-9p] Change all pdu handlers to coroutines.

2011-05-12 Thread Stefan Hajnoczi
On Thu, May 12, 2011 at 9:57 PM, Venkateswararao Jujjuri (JV) wrote: > +typedef struct V9fsCoPdu { > +    V9fsPDU *pdu; > +    V9fsState *s; > +    Coroutine *coroutine; > +} V9fsCoPdu; How about adding the V9fsState *s field to V9fsPDU? Then you do not need this new V9fsCoPdu struct and all the

[Qemu-devel] [PATCH 02/25] [virtio-9p] Change all pdu handlers to coroutines.

2011-05-12 Thread Venkateswararao Jujjuri (JV)
This patch changes the top level handlers to coroutines and sets the base. It will be followed up with series of patches to convert all filesystem calls to threaded coroutines pushing all blocking clals in VirtFS out of vcpu threads. Signed-off-by: Venkateswararao Jujjuri " --- hw/9pfs/virtio-9p-