Amit Shah wrote: > On Monday 23 June 2008 20:46:18 Han, Weidong wrote: >> Amit Shah wrote: >>> On Saturday 21 June 2008 09:41:18 Han, Weidong wrote: >>>> Amit Shah wrote: >>>>> A couple of notes for the VT-d patch: >>>>> - The pci_dev struct is now available in the pci_pt kernel >>>>> structure, so just use that information each time you want to add >>>>> a device instead of searching for it each time. >>>>> - The kernel with KVM VT-d patches doesn't build on the >>>>> kvm-userspace.git tree. Please fix that. >>>> >>>> I pulled the latest VT-d branch, and it works fine for me. >>> >>> I mean the 'vtd' branch in the kernel tree with 'master' branch of >>> the userspace tree aren't compatible.
Amit, why do you want them to be compatible? 'vtd' branch of the kernel tree and 'vtd' branch of the userspace tree is the combination. right? 'master' branch of the userspace may don't have some patches which in 'vtd' branch of the userspace. Randy (Weidong) >> >> I tried it. It can build. Can you show me the errors? > > If you compile kvm as external modules, the userspace tree doesn't > contain the vtd.o file while linking, but kvm.ko refers to objects > within it: > > > Building modules, stage 2. > MODPOST 3 modules > WARNING: "kvm_intel_iommu_found" > [/home/amit/src/kvm-userspace/kernel/kvm.ko] undefined! > WARNING: "kvm_iommu_unmap_guest" > [/home/amit/src/kvm-userspace/kernel/kvm.ko] undefined! > WARNING: "kvm_iommu_map_guest" > [/home/amit/src/kvm-userspace/kernel/kvm.ko] undefined! > WARNING: "kvm_iommu_map_pages" > [/home/amit/src/kvm-userspace/kernel/kvm.ko] undefined! -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
