Re: [kvm-devel] [PATCH] fix *nopage() in kvm_main.c

2007-07-11 Thread Avi Kivity
Nguyen Anh Quynh wrote: > On 7/11/07, Avi Kivity <[EMAIL PROTECTED]> wrote: >> Nguyen Anh Quynh wrote: >> > *nopage() in kvm_main.c should only store the type of mmap() fault if >> > the pointers are not NULL. This patch fixes the problem. >> > >> >> What caller of ->nopage() passes a NULL for typ

Re: [kvm-devel] [PATCH] fix *nopage() in kvm_main.c

2007-07-11 Thread Nguyen Anh Quynh
On 7/11/07, Avi Kivity <[EMAIL PROTECTED]> wrote: > Nguyen Anh Quynh wrote: > > *nopage() in kvm_main.c should only store the type of mmap() fault if > > the pointers are not NULL. This patch fixes the problem. > > > > What caller of ->nopage() passes a NULL for type? In that case we simply do no

Re: [kvm-devel] [PATCH] fix *nopage() in kvm_main.c

2007-07-11 Thread Avi Kivity
Nguyen Anh Quynh wrote: > *nopage() in kvm_main.c should only store the type of mmap() fault if > the pointers are not NULL. This patch fixes the problem. > What caller of ->nopage() passes a NULL for type? -- error compiling committee.c: too many arguments to function ---

[kvm-devel] [PATCH] fix *nopage() in kvm_main.c

2007-07-11 Thread Nguyen Anh Quynh
*nopage() in kvm_main.c should only store the type of mmap() fault if the pointers are not NULL. This patch fixes the problem. Signed-off-by: Nguyen Anh Quynh <[EMAIL PROTECTED]> diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index 83bb284..0520d15 100644 --- a/drivers/kvm/kvm_main