public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix external module install for new host kernels
@ 2008-04-04 20:35 Anthony Liguori
  2008-04-05  7:19 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Liguori @ 2008-04-04 20:35 UTC (permalink / raw)
  To: kvm-devel; +Cc: Anthony Liguori, Avi Kivity

KVM kernel modules are now located in arch/x86/kvm so make sure to rename those
too.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

diff --git a/kernel/Makefile b/kernel/Makefile
index fb053eb..c30c8b2 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -61,7 +61,8 @@ sync:
 install:
 	mkdir -p $(DESTDIR)/$(INSTALLDIR)
 	cp *.ko $(DESTDIR)/$(INSTALLDIR)
-	for i in $(ORIGMODDIR)/drivers/kvm/*.ko; do \
+	for i in $(ORIGMODDIR)/drivers/kvm/*.ko \
+		 $(ORIGMODDIR)/arch/x86/kvm/*.ko; do \
 		if [ -f "$$i" ]; then mv "$$i" "$$i.orig"; fi; \
 	done
 	/sbin/depmod -a

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

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

end of thread, other threads:[~2008-04-05  7:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-04 20:35 [PATCH] Fix external module install for new host kernels Anthony Liguori
2008-04-05  7:19 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox