Re: patch for vmware for Linux-2.6.21

2007-05-13 Thread Christoph Hellwig
On Mon, May 14, 2007 at 11:19:52AM +0800, Jeff Chua wrote:
> On 5/14/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote:
> >On Mon, 2007-05-14 at 09:18 +0800, Jeff Chua wrote:
> 
> >I'm sorry... but why are you posting these patches here? Those aren't
> >GPL modules, and thus very offtopic for lkml, maybe except for if you
> >want to deliberately have people look at non-gpl code ;(
> 
> I don't like these non-gpl code myself, but it allowed me to use
> Linux-2.6.22 as a base to test the new kvm and hope to migrate to kvm
> soon, and I'm sure some others out there would benefit from it as
> well. I don't claim the code to be perfect, but by releasing to
> others, hopefully someone can tell me where to improve on.

Then open up a vmware support forum.  It's entirely offtopic here so
please stop posting this in the future.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[OT] Re: patch for vmware for Linux-2.6.21

2007-05-13 Thread Petr Vandrovec

Jeff Chua wrote:

On 5/14/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote:

On Mon, 2007-05-14 at 09:18 +0800, Jeff Chua wrote:



I'm sorry... but why are you posting these patches here? Those aren't
GPL modules, and thus very offtopic for lkml, maybe except for if you
want to deliberately have people look at non-gpl code ;(


I don't like these non-gpl code myself, but it allowed me to use
Linux-2.6.22 as a base to test the new kvm and hope to migrate to kvm
soon, and I'm sure some others out there would benefit from it as
well. I don't claim the code to be perfect, but by releasing to
others, hopefully someone can tell me where to improve on.


I would strongly recommend you using my patches from 
http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update110.tar.gz. 
 Patch you've created causes memory corruption on 2.6.22-rc1 (and few 
previous kernels, since csum_start got introduced).

Best regards,
Petr Vandrovec

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: patch for vmware for Linux-2.6.21

2007-05-13 Thread Jeff Chua

On 5/14/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote:

On Mon, 2007-05-14 at 09:18 +0800, Jeff Chua wrote:



I'm sorry... but why are you posting these patches here? Those aren't
GPL modules, and thus very offtopic for lkml, maybe except for if you
want to deliberately have people look at non-gpl code ;(


I don't like these non-gpl code myself, but it allowed me to use
Linux-2.6.22 as a base to test the new kvm and hope to migrate to kvm
soon, and I'm sure some others out there would benefit from it as
well. I don't claim the code to be perfect, but by releasing to
others, hopefully someone can tell me where to improve on.


Thanks,
Jeff.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: patch for vmware for Linux-2.6.21

2007-05-13 Thread Arjan van de Ven
On Mon, 2007-05-14 at 09:18 +0800, Jeff Chua wrote:
> Attached are patches for vmware-5.5.3 to make the vmmon and vmnet
> modules compile under Linux-2.6.22-rc1.


I'm sorry... but why are you posting these patches here? Those aren't
GPL modules, and thus very offtopic for lkml, maybe except for if you
want to deliberately have people look at non-gpl code ;(


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


patch for vmware for Linux-2.6.21

2007-05-13 Thread Jeff Chua

Attached are patches for vmware-5.5.3 to make the vmmon and vmnet
modules compile under Linux-2.6.22-rc1.

Thanks,
Jeff.
--- vmware/vmmon-only/include/compat_kernel.h.org   2006-12-26 16:47:25 
+0800
+++ vmware/vmmon-only/include/compat_kernel.h   2006-12-26 16:48:00 +0800
@@ -18,7 +18,9 @@
  * provided by x86-64, arm and other (but not by i386).
  */
 #define __NR_compat_exit __NR_exit
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
 static inline _syscall1(int, compat_exit, int, exit_code);
+#endif
 
 
 /*
--- vmware/vmmon-only/include/driver-config.h.org   2007-01-26 10:46:01 
+0800
+++ vmware/vmmon-only/include/driver-config.h   2006-11-14 05:06:18 +0800
@@ -19,7 +19,8 @@
 #include "includeCheck.h"
 
 #include 
+#undef CONFIG_PARAVIRT
 #include "compat_version.h"
 
 /* We rely on Kernel Module support.  Check here. */


patch-vmnet-2.6.22
Description: Binary data