Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Generic TODR patch



On Fri, Jan 04, 2008 at 12:39:45AM +0100, Joerg Sonnenberger wrote:
> Hi all,
> can someone please test the attached patch? The  Xen instance should
> still get the correct time on boot and changes of the walltime should be
> written back for Dom 0.

Now that current works again for me, I could test it :)

You also need to patch amd64/include/types.h:
Index: amd64/include/types.h
===================================================================
RCS file: /cvsroot/src/sys/arch/amd64/include/types.h,v
retrieving revision 1.22
diff -u -r1.22 types.h
--- amd64/include/types.h       5 Jan 2008 21:52:02 -0000       1.22
+++ amd64/include/types.h       8 Jan 2008 20:19:22 -0000
@@ -76,9 +76,7 @@
 #ifdef _KERNEL_OPT
 #include "opt_xen.h"
 #define __HAVE_RAS
-#ifndef XEN
 #define __HAVE_GENERIC_TODR
 #endif
-#endif
    
 #endif /* _MACHTYPES_H_ */

With this and your patch, amd64 XEN3_DOM0 and XEN3_DOMU kernels seems to work
fine.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index