From b855d229c7272d24f71b60c87cec468142d9b28b Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Fri, 4 Apr 2008 15:35:14 -0500 Subject: [PATCH] kvm: external module: adjust for new host kernels install location KVM kernel modules are now located in arch/x86/kvm so make sure to rename those too. Signed-off-by: Anthony Liguori Signed-off-by: Avi Kivity --- kvm/kernel/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kvm/kernel/Makefile b/kvm/kernel/Makefile index fb053ebffa..c30c8b2365 100644 --- a/kvm/kernel/Makefile +++ b/kvm/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 -- 2.11.4.GIT