From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan C. Bernauer" Subject: Re: Status of pci passthrough work? Date: Sat, 27 Sep 2008 20:26:58 +0200 Message-ID: <48DE7AF2.2090602@t-online.de> References: <200809262020.16885.tfjellstrom@shaw.ca> <48DE5759.6080908@t-online.de> <200809271007.54111.tfjellstrom@shaw.ca> <200809271201.28705.tfjellstrom@shaw.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: Thomas Fjellstrom Return-path: Received: from mailout10.t-online.de ([194.25.134.21]:33448 "EHLO mailout10.t-online.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752400AbYI0S1E (ORCPT ); Sat, 27 Sep 2008 14:27:04 -0400 In-Reply-To: <200809271201.28705.tfjellstrom@shaw.ca> Sender: kvm-owner@vger.kernel.org List-ID: Thomas Fjellstrom wrote: >=20 > So I've checked out both of those trees and used head, and kvm-usersp= ace is=20 > erroring out: >=20 > gcc -I. -I.. -I/root/kvm-amit-userspace/qemu/target-i386 -I/root/kvm-= amit- > userspace/qemu -MMD -MT qemu-kvm-x86.o -MP -DNEED_CPU_H -D_GNU_SOURCE= - > D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D__user=3D -I/root/kvm-a= mit- > userspace/qemu/tcg -I/root/kvm-amit-userspace/qemu/tcg/x86_64 -I/root= /kvm- > amit-userspace/qemu/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/root/kvm-am= it- > userspace/qemu/slirp -I /root/kvm-amit-userspace/qemu/../libkvm -DCO= NFIG_X86=20 > -Wall -O2 -g -fno-strict-aliasing -m64 -I /root/kvm-amit- > userspace/kernel/include -c -o qemu-kvm-x86.o /root/kvm-amit- > userspace/qemu/qemu-kvm-x86.c > /root/kvm-amit-userspace/qemu/qemu-kvm-x86.c:522: error:=20 > =E2KVM_FEATURE_CLOCKSOURCE=E2 undeclared here (not in a function) > /root/kvm-amit-userspace/qemu/qemu-kvm-x86.c:525: error:=20 > =E2KVM_FEATURE_NOP_IO_DELAY=E2 undeclared here (not in a function) > /root/kvm-amit-userspace/qemu/qemu-kvm-x86.c:528: error: =E2KVM_FEATU= RE_MMU_OP=E2=20 > undeclared here (not in a function) >=20 > So I'm a little stuck now. >=20 Try running make sync LINUX=3D/root/kvm-amit (or whatever your kernel source dir is) in the kernel sub directory of your kvm-amit-userspace dir. Those KVM_FEATURE_* should be defined somewhere in kvm_para.h, which is in there. Best regards, Jan