[PATCH] KVM: add localversion to avoid confusion and conflicts

From: Jaswinder Singh Rajput
Date: Fri May 29 2009 - 03:18:52 EST



Adding localversion avoids confusion in kernel images :

like Linux version 2.6.30-rc7 does not tell whether it is linus or kvm kernel.

By adding localversion it tells :

Linux version 2.6.30-rc7-kvm , any doubt ;-)

Secondly, by installing modules it overwrites on linus modules.

By adding localversion :

[root@hpdv5 kvm]# make modules_install
INSTALL arch/x86/kernel/cpu/cpu_debug.ko
INSTALL arch/x86/kernel/test_nx.ko
INSTALL arch/x86/kvm/kvm-amd.ko
INSTALL arch/x86/kvm/kvm-intel.ko
INSTALL arch/x86/kvm/kvm.ko
INSTALL arch/x86/oprofile/oprofile.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL drivers/virtio/virtio.ko
INSTALL drivers/virtio/virtio_balloon.ko
INSTALL drivers/virtio/virtio_pci.ko
INSTALL drivers/virtio/virtio_ring.ko
DEPMOD 2.6.30-rc7-kvm

I am inspired by Ingo's -tip, I am sure Ingo will tell more advantages,
if these are not enough :-)

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@xxxxxxxxx>
---
localversion-kvm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 localversion-kvm

diff --git a/localversion-kvm b/localversion-kvm
new file mode 100644
index 0000000..d969ff0
--- /dev/null
+++ b/localversion-kvm
@@ -0,0 +1 @@
+-kvm
--
1.6.0.6



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/