All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ioemu-remote: Fix pci pass-through
@ 2008-07-15 16:19 Jean Guyader
  2008-07-15 16:21 ` Jean Guyader
  2008-07-15 16:36 ` Samuel Thibault
  0 siblings, 2 replies; 6+ messages in thread
From: Jean Guyader @ 2008-07-15 16:19 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 72 bytes --]


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

-- 
Jean Guyader

[-- Attachment #2: ioemu_enable_passthrough.patch --]
[-- Type: text/plain, Size: 685 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-16 16:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-15 16:19 [PATCH] ioemu-remote: Fix pci pass-through Jean Guyader
2008-07-15 16:21 ` Jean Guyader
2008-07-15 16:25   ` Jean Guyader
2008-07-15 17:53   ` Ian Jackson
2008-07-16 16:28     ` Jean Guyader
2008-07-15 16:36 ` Samuel Thibault

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.