Hi Weidong, Thank you for your answer. I tried to test latest Avi's kvm.git and kvm-userspace.git. but, kvm-userspace fails to compile. I used the following git repositories: git clone git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm-userspace.git vtd $ ./configure $ make make -C libkvm make[1]: Entering directory `/home/ddk/vtd/libkvm' gcc -m32 -D__i386__ -MMD -MF ./.libkvm.d -g -fomit-frame-pointer -Wall -fno-stack-protector -I /home/ddk/vtd/kernel/include -c -o libkvm.o libkvm.c In file included from libkvm.c:38: libkvm.h:630: warning: 'struct kvm_pit_state' declared inside parameter list libkvm.h:630: warning: its scope is only this definition or declaration, which is probably not what you want libkvm.h:641: warning: 'struct kvm_pit_state' declared inside parameter list gcc -m32 -D__i386__ -MMD -MF ./.libkvm-x86.d -g -fomit-frame-pointer -Wall -fno-stack-protector -I /home/ddk/vtd/kernel/include -c -o libkvm-x86.o libkvm-x86.c In file included from libkvm-x86.c:1: libkvm.h:630: warning: 'struct kvm_pit_state' declared inside parameter list libkvm.h:630: warning: its scope is only this definition or declaration, which is probably not what you want libkvm.h:641: warning: 'struct kvm_pit_state' declared inside parameter list libkvm-x86.c:246: warning: 'struct kvm_pit_state' declared inside parameter list libkvm-x86.c:247: error: conflicting types for 'kvm_get_pit' libkvm.h:630: error: previous declaration of 'kvm_get_pit' was here libkvm-x86.c: In function 'kvm_get_pit': libkvm-x86.c:251: error: invalid application of 'sizeof' to incomplete type 'struct kvm_pit_state' libkvm-x86.c:251: error: array type has incomplete element type libkvm-x86.c:251: error: invalid application of 'sizeof' to incomplete type 'struct kvm_pit_state' libkvm-x86.c:251: error: invalid application of 'sizeof' to incomplete type 'struct kvm_pit_state' libkvm-x86.c: At top level: libkvm-x86.c:259: warning: 'struct kvm_pit_state' declared inside parameter list libkvm-x86.c:260: error: conflicting types for 'kvm_set_pit' libkvm.h:641: error: previous declaration of 'kvm_set_pit' was here libkvm-x86.c: In function 'kvm_set_pit': libkvm-x86.c:264: error: invalid application of 'sizeof' to incomplete type 'struct kvm_pit_state' libkvm-x86.c:264: error: array type has incomplete element type libkvm-x86.c:264: error: invalid application of 'sizeof' to incomplete type 'struct kvm_pit_state' libkvm-x86.c:264: error: invalid application of 'sizeof' to incomplete type 'struct kvm_pit_state' make[1]: *** [libkvm-x86.o] Error 1 make[1]: Leaving directory `/home/ddk/vtd/libkvm' make: *** [libkvm] Error 2 Any advice or tips will help? Thanks, Kazushi From: "Han, Weidong" <weidong.han@intel.com> Subject: RE: How to use PCI-passthrough with kvm Date: Thu, 11 Dec 2008 18:26:27 +0800-- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Jesper Krogh | Re: Linux 2.6.26-rc4 |
| Thomas Gleixner | Re: Linux 2.6.21-rc1 |
| Hugh Dickins | Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
git: | |
| Antonio Almeida | HTB accuracy for high speed |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
