public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [kvm-commits] kvm: external module: rename original kernel's modules when installing
       [not found] ` <20070712102047.EF6C4250135-LjA0eNSCdXrQnzwC+xcbyw@public.gmane.org>
@ 2007-07-13  3:00   ` Nguyen Anh Quynh
       [not found]     ` <9cde8bff0707122000n3fccd1b6u383ddde667d6950c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Nguyen Anh Quynh @ 2007-07-13  3:00 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

On 7/12/07, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
> repository: /home/avi/kvm
> branch: master
> commit ebad9f20e60405fbf01beea7521c8a764391dece
> Author: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
> Date:   Thu Jul 12 13:20:47 2007 +0300
>
>     kvm: external module: rename original kernel's modules when installing
>
>     this avoids an ambiguity when using the kvm external module in conjuction
>     with 2.6.20 or later, which may also have kvm built.

This patch raises a problem if
/lib/modules/<version>/kernel/drivers/kvm/ does not exist.

The enclosed patch fixes the bug.

Signed-off-by: Nguyen Anh Quynh <aquynh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

[-- Attachment #2: patch12.patch --]
[-- Type: text/x-patch, Size: 420 bytes --]

diff --git a/kernel/Makefile b/kernel/Makefile
index 7eae95b..705d3fd 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -41,7 +41,7 @@ sync:
 install:
 	mkdir -p $(DESTDIR)/$(INSTALLDIR)
 	cp *.ko $(DESTDIR)/$(INSTALLDIR)
-	for i in $(ORIGMODDIR)/drivers/kvm/*.ko; do mv $$i $$i.orig; done
+	for i in $(ORIGMODDIR)/drivers/kvm/*.ko; do mv $$i $$i.orig; done || true
 	/sbin/depmod -a
 
 tmpspec = .tmp.kvm-kmod.spec

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

[-- Attachment #4: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

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

* Re: [kvm-commits] kvm: external module: rename original kernel's modules when installing
       [not found]     ` <9cde8bff0707122000n3fccd1b6u383ddde667d6950c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-07-15  6:35       ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2007-07-15  6:35 UTC (permalink / raw)
  To: Nguyen Anh Quynh; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Nguyen Anh Quynh wrote:
> On 7/12/07, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
>> repository: /home/avi/kvm
>> branch: master
>> commit ebad9f20e60405fbf01beea7521c8a764391dece
>> Author: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
>> Date:   Thu Jul 12 13:20:47 2007 +0300
>>
>>     kvm: external module: rename original kernel's modules when 
>> installing
>>
>>     this avoids an ambiguity when using the kvm external module in 
>> conjuction
>>     with 2.6.20 or later, which may also have kvm built.
>
> This patch raises a problem if
> /lib/modules/<version>/kernel/drivers/kvm/ does not exist.
>
> The enclosed patch fixes the bug.

Fixed in a slightly different way; thanks.


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

end of thread, other threads:[~2007-07-15  6:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20070712102047.EF6C4250135@il.qumranet.com>
     [not found] ` <20070712102047.EF6C4250135-LjA0eNSCdXrQnzwC+xcbyw@public.gmane.org>
2007-07-13  3:00   ` [kvm-commits] kvm: external module: rename original kernel's modules when installing Nguyen Anh Quynh
     [not found]     ` <9cde8bff0707122000n3fccd1b6u383ddde667d6950c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-07-15  6:35       ` Avi Kivity

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