From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Fjellstrom Subject: Re: Status of pci passthrough work? Date: Sat, 27 Sep 2008 12:33:48 -0600 Message-ID: <200809271233.48966.tfjellstrom@shaw.ca> References: <200809262020.16885.tfjellstrom@shaw.ca> <200809271201.28705.tfjellstrom@shaw.ca> <48DE7AF2.2090602@t-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE To: kvm@vger.kernel.org Return-path: Received: from idcmail-mo1so.shaw.ca ([24.71.223.10]:60385 "EHLO idcmail-mo1so.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752882AbYI0Sdu convert rfc822-to-8bit (ORCPT ); Sat, 27 Sep 2008 14:33:50 -0400 In-Reply-To: <48DE7AF2.2090602@t-online.de> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On Saturday 27 September 2008, Jan C. Bernauer wrote: > Thomas Fjellstrom wrote: > > So I've checked out both of those trees and used head, and kvm-user= space > > is erroring out: > > > > 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__use= r=3D > > -I/root/kvm-amit- 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-= amit- > > userspace/qemu/slirp -I /root/kvm-amit-userspace/qemu/../libkvm=20 > > -DCONFIG_X86 -Wall -O2 -g -fno-strict-aliasing -m64 -I /root/kvm-a= mit- > > 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: > > =E2KVM_FEATURE_CLOCKSOURCE=E2 undeclared here (not in a function) > > /root/kvm-amit-userspace/qemu/qemu-kvm-x86.c:525: error: > > =E2KVM_FEATURE_NOP_IO_DELAY=E2 undeclared here (not in a function) > > /root/kvm-amit-userspace/qemu/qemu-kvm-x86.c:528: error: > > =E2KVM_FEATURE_MMU_OP=E2 undeclared here (not in a function) > > > > So I'm a little stuck now. > > 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. that leaves me with: /root/kvm-amit-userspace/qemu/../libkvm/libkvm.h:28: warning: =E2struct= =20 kvm_msr_entry=E2 declared inside parameter list = =20 /root/kvm-amit-userspace/qemu/../libkvm/libkvm.h:28: warning: its scope= is=20 only this definition or declaration, which is probably not what you wan= t and a bunch more errors. > Best regards, > Jan > > > > -- > 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 --=20 Thomas Fjellstrom tfjellstrom@shaw.ca