WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] ioemu-remote: Fix pci pass-through

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] ioemu-remote: Fix pci pass-through
From: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
Date: Tue, 15 Jul 2008 17:21:12 +0100
Delivery-date: Tue, 15 Jul 2008 09:23:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <487CCE11.90201@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <487CCE11.90201@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509)
Sorry, I missed the Signed-off.

ioemu-remote: Enable pci pass-through by default.

Signed-off-by: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>

--
Jean Guyader
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel