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-users

[Xen-users] kqemu and xen

To: xen-users@xxxxxxxxxxxxxxxxxxx, febrice@xxxxxxxxxxx
Subject: [Xen-users] kqemu and xen
From: Tupshin Harper <tupshin@xxxxxxxxxxx>
Date: Wed, 30 Mar 2005 14:50:37 -0800
Delivery-date: Wed, 30 Mar 2005 22:51:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0 (X11/20050116)
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] kqemu and xen, Tupshin Harper <=