[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.