From patchwork Fri May 29 07:18:14 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaswinder Singh Rajput X-Patchwork-Id: 26867 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4T7IhOx011681 for ; Fri, 29 May 2009 07:18:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753979AbZE2HSi (ORCPT ); Fri, 29 May 2009 03:18:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753907AbZE2HSi (ORCPT ); Fri, 29 May 2009 03:18:38 -0400 Received: from hera.kernel.org ([140.211.167.34]:43336 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752021AbZE2HSh (ORCPT ); Fri, 29 May 2009 03:18:37 -0400 Received: from [192.168.1.2] (ABTS-MP-Dynamic-065.4.168.122.airtelbroadband.in [122.168.4.65] (may be forged)) (authenticated bits=0) by hera.kernel.org (8.14.2/8.13.8) with ESMTP id n4T7IFj9017739 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 29 May 2009 07:18:18 GMT Subject: [PATCH] KVM: add localversion to avoid confusion and conflicts From: Jaswinder Singh Rajput To: Avi Kivity , Ingo Molnar , LKML , KVM list Date: Fri, 29 May 2009 12:48:14 +0530 Message-Id: <1243581494.3212.1.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 (2.24.5-1.fc10) X-Virus-Scanned: ClamAV 0.93.3/9404/Fri May 29 03:17:02 2009 on hera.kernel.org X-Virus-Status: Clean Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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 --- 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