Re: [kvm-devel] [PATCH] emulated cmpxchg8b should be atomic on i386

2007-12-13 Thread Avi Kivity
Marcelo Tosatti wrote: > Emulate cmpxchg8b atomically on i386. This is required to avoid a guest > pte walker from seeing a splitted write. > Applied, thanks. -- error compiling committee.c: too many arguments to function -

Re: [kvm-devel] [PATCH] emulated cmpxchg8b should be atomic on i386

2007-12-12 Thread Marcelo Tosatti
On Mon, Dec 10, 2007 at 11:30:11PM +0200, Avi Kivity wrote: > Marcelo Tosatti wrote: > >Emulate cmpxchg8b atomically on i386. This is required to avoid a guest > >pte walker from seeing a splitted write. > > > >Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]> > > > >diff --git a/drivers/kvm/x86.c

Re: [kvm-devel] [PATCH] emulated cmpxchg8b should be atomic on i386

2007-12-10 Thread Avi Kivity
Marcelo Tosatti wrote: > Emulate cmpxchg8b atomically on i386. This is required to avoid a guest > pte walker from seeing a splitted write. > > Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]> > > diff --git a/drivers/kvm/x86.c b/drivers/kvm/x86.c > index 9db4e32..d58d795 100644 > --- a/drivers/k

[kvm-devel] [PATCH] emulated cmpxchg8b should be atomic on i386

2007-12-10 Thread Marcelo Tosatti
Emulate cmpxchg8b atomically on i386. This is required to avoid a guest pte walker from seeing a splitted write. Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]> diff --git a/drivers/kvm/x86.c b/drivers/kvm/x86.c index 9db4e32..d58d795 100644 --- a/drivers/kvm/x86.c +++ b/drivers/kvm/x86.c @@