From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Guyader Subject: Re: [PATCH] ioemu-remote: Fix pci pass-through Date: Tue, 15 Jul 2008 17:21:12 +0100 Message-ID: <487CCE78.9070004@eu.citrix.com> References: <487CCE11.90201@eu.citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000202060504030404060107" Return-path: In-Reply-To: <487CCE11.90201@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------000202060504030404060107 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sorry, I missed the Signed-off. ioemu-remote: Enable pci pass-through by default. Signed-off-by: Jean Guyader -- Jean Guyader --------------000202060504030404060107 Content-Type: text/plain; name="ioemu_enable_passthrough.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ioemu_enable_passthrough.patch" diff --git a/xen-hooks.mak b/xen-hooks.mak index 4e8b1fa..af977ef 100644 --- a/xen-hooks.mak +++ b/xen-hooks.mak @@ -39,11 +39,20 @@ OBJS += tpm_tis.o ifdef CONFIG_STUBDOM CONFIG_PASSTHROUGH=1 -OBJS += xenfbfront.o +else + ifeq (,$(wildcard /usr/include/pci)) +$(warning *** pciutils-devl package not found - missing /usr/include/pci) +$(warning *** PCI passthrough capability has been disabled) + else +CONFIG_PASSTHROUGH=1 + endif endif ifdef CONFIG_PASSTHROUGH -OBJS+= pass-through.o +OBJS+= pass-through.o pt-msi.o +LIBS += -lpci +CFLAGS += -DCONFIG_PASSTHROUGH +$(info *** PCI passthrough capability has been enabled ***) endif BAD_OBJS += gdbstub.o acpi.o apic.o --------------000202060504030404060107 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------000202060504030404060107--