[PATCH 05/16] make write() operation smp aware

2008-01-07 Thread Glauber de Oliveira Costa
This patch makes the write() file operation smp aware. Which means, receiving the vcpu_id value through the offset parameter, and being well aware to which vcpu we're talking to. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> --- drivers/lguest/lguest_user.c | 11 +-- 1 fi

Re: [PATCH 05/16] make write() operation smp aware

2007-12-25 Thread Rusty Russell
On Friday 21 December 2007 00:33:45 Glauber de Oliveira Costa wrote: > --- a/drivers/lguest/lguest_user.c > +++ b/drivers/lguest/lguest_user.c > @@ -223,14 +223,21 @@ static ssize_t write(struct file *file, const char ... > /* If you haven't initialized, you must do that first. */ > - if

[PATCH 05/16] make write() operation smp aware

2007-12-20 Thread Glauber de Oliveira Costa
This patch makes the write() file operation smp aware. Which means, receiving the vcpu_id value through the offset parameter, and being well aware to which vcpu we're talking to. Signed-off-by: Glauber de Oliveira Costa <[EMAIL PROTECTED]> --- drivers/lguest/lguest_user.c | 11 +-- 1 fi