Re: [PATCH] add compat wrapper for get_user_pages_fast

2008-09-19 Thread Avi Kivity
Jan Kiszka wrote: Not sure if this is correct, but here is at least a compile fix. I think it is. Note that the original mmem_map locking scope was partly far broader on older kernels than with Marcelo's patch and this fix now. Could anyone comment on the correctness? Since

[PATCH] add compat wrapper for get_user_pages_fast

2008-09-18 Thread Jan Kiszka
Jan Kiszka wrote: Xu, Jiajun wrote: Hi, Against latest kvm commit, 9644a6d164e3d6d0532ddb064393293134f31ab2. KVM compile meet error on 2.6.26.2. [EMAIL PROTECTED] kernel]# make rm -f include/asm ln -sf asm-x86 include/asm ln -sf asm-x86 include-compat/asm make -C

Re: [PATCH] add compat wrapper for get_user_pages_fast

2008-09-18 Thread Marcelo Tosatti
On Thu, Sep 18, 2008 at 06:33:04PM +0200, Jan Kiszka wrote: Not sure if this is correct, but here is at least a compile fix. Looks good. Note that the original mmem_map locking scope was partly far broader on older kernels than with Marcelo's patch and this fix now. Could anyone comment on