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

[Xen-devel] [PATCH RFC 03/10] x86/passthrough: io.c is used for HVM only



Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
This file has a few functions that are called in other places. We need
to provide stubs for them at some point. Currently the declarations
are in different places. What is the preferred name / location for the
stubs?
---
 xen/drivers/passthrough/x86/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/drivers/passthrough/x86/Makefile 
b/xen/drivers/passthrough/x86/Makefile
index 0a21b60b5a..02659bd9f5 100644
--- a/xen/drivers/passthrough/x86/Makefile
+++ b/xen/drivers/passthrough/x86/Makefile
@@ -2,6 +2,6 @@ subdir-y += vtd
 subdir-y += amd
 
 obj-y += ats.o
-obj-y += io.o
+obj-$(CONFIG_HVM) += io.o
 obj-y += iommu.o
 obj-y += pci.o
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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