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:01:28 -0600 Message-ID: <200809271201.28705.tfjellstrom@shaw.ca> References: <200809262020.16885.tfjellstrom@shaw.ca> <48DE5759.6080908@t-online.de> <200809271007.54111.tfjellstrom@shaw.ca> 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]:34057 "EHLO idcmail-mo1so.shaw.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752851AbYI0SBa convert rfc822-to-8bit (ORCPT ); Sat, 27 Sep 2008 14:01:30 -0400 In-Reply-To: <200809271007.54111.tfjellstrom@shaw.ca> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On Saturday 27 September 2008, Thomas Fjellstrom wrote: > On Saturday 27 September 2008, Jan C. Bernauer wrote: > > Thomas Fjellstrom wrote: > > > How did you manage to pull together those patches? They all seem = so > > > > old, and > > > > > won't likely apply cleanly to git head :( > > > > Which patches do you mean? The patches for kvm? > > There is a nice repository managed by Amit Shah: > > Linux source: > > http://git.kernel.org/?p=3Dlinux/kernel/git/amit/kvm.git;a=3Dsummar= y > > > > kvm-userspace: > > http://git.kernel.org/?p=3Dlinux/kernel/git/amit/kvm-userspace.git;= a=3Dsummar > >y > > > > I think this compiled without too much problems. > > Ah, the pci branches in the main kvm.git tree seemed to be months old= , and > I assumed thats where the code was kept. > > > Best regards, > > Jan So I've checked out both of those trees and used head, and kvm-userspac= e is=20 erroring out: gcc -I. -I.. -I/root/kvm-amit-userspace/qemu/target-i386 -I/root/kvm-am= it- 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-ami= t- userspace/qemu/tcg -I/root/kvm-amit-userspace/qemu/tcg/x86_64 -I/root/k= vm- amit-userspace/qemu/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/root/kvm-amit= - userspace/qemu/slirp -I /root/kvm-amit-userspace/qemu/../libkvm -DCONF= IG_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_FEATURE= _MMU_OP=E2=20 undeclared here (not in a function) So I'm a little stuck now. --=20 Thomas Fjellstrom tfjellstrom@shaw.ca