In the ongoing saga of trying to combine xen with the ability to run windows decently in the pre Pacifica/Vanderpool era, I tried running qemu in a domU, and it installed and ran WinXP fine, albeit quite slowly. I then tried to compile kqemu against the domU (and later dom0 headers) and ran into a bunch of problems with include/linux/jiffies.h (included below). Does anybody think this could be made to work fairly easily, or is it a giant rathole? -Tupshin make -C kqemu make: Entering directory `/usr/src/qemu.cvs/kqemu'' make -C /lib/modules/2.6.11ac1-xen0/build M=`pwd` modules make[1]: Entering directory `/usr/src/xen-unstable/linux-2.6.11-xen0'' CC [M] /usr/src/qemu.cvs/kqemu/kmod.o In file included from include/linux/sched.h:12, from include/linux/module.h:10, from /usr/src/qemu.cvs/kqemu/kmod.c:5: include/linux/jiffies.h:42:3: #error You lose. include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:213:31: division by zero in #if include/linux/jiffies.h:257:30: division by zero in #if In file included from include/linux/sched.h:12, from include/linux/module.h:10, from /usr/src/qemu.cvs/kqemu/kmod.c:5: include/linux/jiffies.h: In function `jiffies_to_msecs'': include/linux/jiffies.h:262: error: `CONFIG_X86_HZ'' undeclared (first use in this function) include/linux/jiffies.h:262: error: (Each undeclared identifier is reported only once include/linux/jiffies.h:262: error: for each function it appears in.) include/linux/jiffies.h:268:36: division by zero in #if include/linux/jiffies.h: In function `jiffies_to_usecs'': include/linux/jiffies.h:273: error: `CONFIG_X86_HZ'' undeclared (first use in this function) include/linux/jiffies.h:281:30: division by zero in #if include/linux/jiffies.h: In function `msecs_to_jiffies'': include/linux/jiffies.h:286: error: `CONFIG_X86_HZ'' undeclared (first use in this function) include/linux/jiffies.h:294:36: division by zero in #if include/linux/jiffies.h: In function `usecs_to_jiffies'': include/linux/jiffies.h:299: error: `CONFIG_X86_HZ'' undeclared (first use in this function) include/linux/jiffies.h: In function `timespec_to_jiffies'': include/linux/jiffies.h:318: error: `CONFIG_X86_HZ'' undeclared (first use in this function) include/linux/jiffies.h:324: error: `SHIFT_HZ'' undeclared (first use in this function) include/linux/jiffies.h: In function `jiffies_to_timespec'': include/linux/jiffies.h:337: error: `CONFIG_X86_HZ'' undeclared (first use in this function) include/linux/jiffies.h: In function `timeval_to_jiffies'': include/linux/jiffies.h:359: error: `CONFIG_X86_HZ'' undeclared (first use in this function) include/linux/jiffies.h:363: error: `SHIFT_HZ'' undeclared (first use in this function) include/linux/jiffies.h: In function `jiffies_to_timeval'': include/linux/jiffies.h:375: error: `CONFIG_X86_HZ'' undeclared (first use in this function) include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h:385:6: division by zero in #if include/linux/jiffies.h: In function `jiffies_to_clock_t'': include/linux/jiffies.h:386: error: `CONFIG_X86_HZ'' undeclared (first use in this function) include/linux/jiffies.h: In function `clock_t_to_jiffies'': include/linux/jiffies.h:397: error: `CONFIG_X86_HZ'' undeclared (first use in this function) include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h:416:6: division by zero in #if include/linux/jiffies.h: In function `jiffies_64_to_clock_t'': include/linux/jiffies.h:417: error: `CONFIG_X86_HZ'' undeclared (first use in this function) make[2]: *** [/usr/src/qemu.cvs/kqemu/kmod.o] Error 1 make[1]: *** [_module_/usr/src/qemu.cvs/kqemu] Error 2 make[1]: Leaving directory `/usr/src/xen-unstable/linux-2.6.11-xen0'' make: *** [kqemu.ko] Error 2 make: Leaving directory `/usr/src/qemu.cvs/kqemu'' _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users