WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel][PATCH][RESEND] PV drivers for HVM guests

On Tue, 2006-10-24 at 11:54 +0900, DOI Tsunehisa wrote:
> Hi all,
> 
> "Ky Srinivasan" <ksrinivasan@xxxxxxxxxx> wrote:
> > I am enclosing the patch I have been working on. I have tested this on
> > sles9 (2.6.5) and RHEL 4 (2.6.9). The patch applies cleanly on
> > ChangeSet 11635. This patch was cleaned up based on Ian's and DOI's
> > work.
> 
> I merged Srinivasan's work and a part of modification for IA64
> platform.

Thank you. I am just in the process of cleaning up the patch and
breaking it into manageable chunks. I've incorporated changes from your
patches and added both your signed-off-by's to the bits you've signed
off on.

> I tested only compiling on RHEL4 Update 2.

OK, I'm boot testing on sles9sp3 and rhel4.4. Perhaps that explains some
of the extra bits you seem to have which I don't seem to need? Or
perhaps they are IA64 specific?

I've left the bits that I've quoted below out for now since I didn't
need them for the releases I'm testing. Once I've committed the first
batch we can revisit these as well as anything I've dropped by mistake.

Cheers,
Ian.

> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
> +++ b/unmodified_drivers/linux-2.6/compat-include/compat.h    Tue Oct 24 
> 11:00:08 2006 +0900

> +#if defined(__LINUX_COMPILER_H) && !defined(__nocast)
> +#define __nocast
> +#endif

> +#if defined(_LINUX_SCHED_H) && !defined(__sched)
> +#define __sched
> +#endif

> +#if defined(_LINUX_TYPES_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
> +typedef unsigned __nocast gfp_t;
> +#endif

> +#if defined(_LINUX_ERR_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12)
> +#define IS_ERR_VALUE(x) unlikely((x) > (unsigned long)-1000L)
> +#endif

> +#if defined(__ia64__) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11)
> +#include <asm-generic/pgtable-nopud.h>
> +#endif



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel