* [PATCH] KVM: add localversion to avoid confusion and conflicts @ 2009-05-29 7:18 Jaswinder Singh Rajput 2009-05-29 7:48 ` Christian Bornträger 0 siblings, 1 reply; 7+ messages in thread From: Jaswinder Singh Rajput @ 2009-05-29 7:18 UTC (permalink / raw) To: Avi Kivity, Ingo Molnar, LKML, KVM list 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@gmail.com> --- 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 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] KVM: add localversion to avoid confusion and conflicts 2009-05-29 7:18 [PATCH] KVM: add localversion to avoid confusion and conflicts Jaswinder Singh Rajput @ 2009-05-29 7:48 ` Christian Bornträger 2009-05-29 8:43 ` Jaswinder Singh Rajput 0 siblings, 1 reply; 7+ messages in thread From: Christian Bornträger @ 2009-05-29 7:48 UTC (permalink / raw) To: Jaswinder Singh Rajput; +Cc: Avi Kivity, Ingo Molnar, LKML, KVM list Am Freitag 29 Mai 2009 09:18:14 schrieb Jaswinder Singh Rajput: > 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 ;-) > I am inspired by Ingo's -tip, I am sure Ingo will tell more advantages, > if these are not enough :-) [...] > diff --git a/localversion-kvm b/localversion-kvm > new file mode 100644 > index 0000000..d969ff0 > --- /dev/null > +++ b/localversion-kvm > @@ -0,0 +1 @@ > +-kvm NAK from my side. If you need a distinction, there is always CONFIG_LOCALVERSION_AUTO. If you need this kind of prefix, there is always CONFIG_LOCALVERSION. Christian ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] KVM: add localversion to avoid confusion and conflicts 2009-05-29 7:48 ` Christian Bornträger @ 2009-05-29 8:43 ` Jaswinder Singh Rajput 2009-05-29 9:29 ` Christian Bornträger 2009-06-01 19:26 ` Steven Rostedt 0 siblings, 2 replies; 7+ messages in thread From: Jaswinder Singh Rajput @ 2009-05-29 8:43 UTC (permalink / raw) To: Christian Bornträger; +Cc: Avi Kivity, Ingo Molnar, LKML, KVM list On Fri, 2009-05-29 at 09:48 +0200, Christian Bornträger wrote: > Am Freitag 29 Mai 2009 09:18:14 schrieb Jaswinder Singh Rajput: > > 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 ;-) > > I am inspired by Ingo's -tip, I am sure Ingo will tell more advantages, > > if these are not enough :-) > [...] > > diff --git a/localversion-kvm b/localversion-kvm > > new file mode 100644 > > index 0000000..d969ff0 > > --- /dev/null > > +++ b/localversion-kvm > > @@ -0,0 +1 @@ > > +-kvm > > NAK from my side. If you need a distinction, there is always > CONFIG_LOCALVERSION_AUTO. If you need this kind of prefix, there is always > CONFIG_LOCALVERSION. > Here is NAK for your NAK from my side. This patch is only for KVM tree and not for linus tree. Lets assume 100 developers are working on kvm tree and they use kvm tree on 2 PCs. So count becomes 200. Like in my case I have dozen of kernel trees so I keep on swapping config between kernels. And I also need to test config from various users. So this count is countless. I think this is the biggest point for adding localversion in -tip. It seems Ingo is busy in perfcounter stuff otherwise he will explain you more advantages. In the least case, Can you differentiate between 1 and 200 ? So by adding this patch we can save lot of developer's time. -- JSR ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] KVM: add localversion to avoid confusion and conflicts 2009-05-29 8:43 ` Jaswinder Singh Rajput @ 2009-05-29 9:29 ` Christian Bornträger 2009-06-01 19:26 ` Steven Rostedt 1 sibling, 0 replies; 7+ messages in thread From: Christian Bornträger @ 2009-05-29 9:29 UTC (permalink / raw) To: Jaswinder Singh Rajput; +Cc: Avi Kivity, Ingo Molnar, LKML, KVM list Am Freitag 29 Mai 2009 10:43:46 schrieb Jaswinder Singh Rajput: > > > Adding localversion avoids confusion in kernel images : > > NAK from my side. If you need a distinction, there is always > Here is NAK for your NAK from my side. > This patch is only for KVM tree and not for linus tree. I know that this is for the kvm tree. I personally dont like to have a forced localversion in my kernel trees - it might break my tooling. Anyway, If it really makes your life better I can live with these localversion files and adopt my tooling. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] KVM: add localversion to avoid confusion and conflicts 2009-05-29 8:43 ` Jaswinder Singh Rajput 2009-05-29 9:29 ` Christian Bornträger @ 2009-06-01 19:26 ` Steven Rostedt 2009-06-01 19:48 ` Avi Kivity 1 sibling, 1 reply; 7+ messages in thread From: Steven Rostedt @ 2009-06-01 19:26 UTC (permalink / raw) To: Jaswinder Singh Rajput Cc: Christian Bornträger, Avi Kivity, Ingo Molnar, LKML, KVM list On Fri, May 29, 2009 at 02:13:46PM +0530, Jaswinder Singh Rajput wrote: > On Fri, 2009-05-29 at 09:48 +0200, Christian Bornträger wrote: > > Am Freitag 29 Mai 2009 09:18:14 schrieb Jaswinder Singh Rajput: > > > 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 ;-) > > > I am inspired by Ingo's -tip, I am sure Ingo will tell more advantages, > > > if these are not enough :-) > > [...] > > > diff --git a/localversion-kvm b/localversion-kvm > > > new file mode 100644 > > > index 0000000..d969ff0 > > > --- /dev/null > > > +++ b/localversion-kvm > > > @@ -0,0 +1 @@ > > > +-kvm > > > > NAK from my side. If you need a distinction, there is always > > CONFIG_LOCALVERSION_AUTO. If you need this kind of prefix, there is always > > CONFIG_LOCALVERSION. > > > > Here is NAK for your NAK from my side. And here is a NACK for your NACK of a NACK! > > This patch is only for KVM tree and not for linus tree. > > Lets assume 100 developers are working on kvm tree and they use kvm tree > on 2 PCs. So count becomes 200. > > Like in my case I have dozen of kernel trees so I keep on swapping > config between kernels. And I also need to test config from various > users. So this count is countless. > I think this is the biggest point for adding localversion in -tip. > It seems Ingo is busy in perfcounter stuff otherwise he will explain you > more advantages. > > In the least case, Can you differentiate between 1 and 200 ? > > So by adding this patch we can save lot of developer's time. No this patch wastes a lot of developers time. If we accept it, than any patch that is added after it will need to be rebased before going to Linus. Unless KVM is made up of a bunch of branches like tip is, this will become more of a hassle than a benefit. Ingo's tip/master is based off of a bunch of branches. It is not recommended to develope against tip/master. I develop against tip/tracing/core, because that is what will get pulled by Linus. tip/master is created automatically from a bunch of branches and gets rebased all the time. One of those branches is tip, which supplies the localversion. Thus, if you use tip/master, you get the localversion file. But if you develop against one of the main branches that will eventually go to Linus, then you will not have that localversion file. -- Steve ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] KVM: add localversion to avoid confusion and conflicts 2009-06-01 19:26 ` Steven Rostedt @ 2009-06-01 19:48 ` Avi Kivity 2009-06-01 19:53 ` Steven Rostedt 0 siblings, 1 reply; 7+ messages in thread From: Avi Kivity @ 2009-06-01 19:48 UTC (permalink / raw) To: Steven Rostedt Cc: Jaswinder Singh Rajput, Christian Bornträger, Ingo Molnar, LKML, KVM list Steven Rostedt wrote: > >> This patch is only for KVM tree and not for linus tree. >> >> Lets assume 100 developers are working on kvm tree and they use kvm tree >> on 2 PCs. So count becomes 200. >> >> Like in my case I have dozen of kernel trees so I keep on swapping >> config between kernels. And I also need to test config from various >> users. So this count is countless. >> I think this is the biggest point for adding localversion in -tip. >> It seems Ingo is busy in perfcounter stuff otherwise he will explain you >> more advantages. >> >> In the least case, Can you differentiate between 1 and 200 ? >> >> So by adding this patch we can save lot of developer's time. >> > > No this patch wastes a lot of developers time. If we accept it, than any > patch that is added after it will need to be rebased before going to > Linus. Unless KVM is made up of a bunch of branches like tip is, this will become > more of a hassle than a benefit. > kvm.git for-linus branches are rebased anyway, since I fold patches that fix or revert other patches. I also (rarely) delay some patches in my tree but submit others that came later. localversion would show up in linux-next, not sure if that's a problem. On the other hand, I'm not sure what it's worth. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] KVM: add localversion to avoid confusion and conflicts 2009-06-01 19:48 ` Avi Kivity @ 2009-06-01 19:53 ` Steven Rostedt 0 siblings, 0 replies; 7+ messages in thread From: Steven Rostedt @ 2009-06-01 19:53 UTC (permalink / raw) To: Avi Kivity Cc: Jaswinder Singh Rajput, Christian Bornträger, Ingo Molnar, LKML, KVM list On Mon, 1 Jun 2009, Avi Kivity wrote: > > localversion would show up in linux-next, not sure if that's a problem. On > the other hand, I'm not sure what it's worth. If a localversion file with "-kvm" showed up in linux-next, I would consider that a problem. -- Steve ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-06-01 19:53 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-05-29 7:18 [PATCH] KVM: add localversion to avoid confusion and conflicts Jaswinder Singh Rajput 2009-05-29 7:48 ` Christian Bornträger 2009-05-29 8:43 ` Jaswinder Singh Rajput 2009-05-29 9:29 ` Christian Bornträger 2009-06-01 19:26 ` Steven Rostedt 2009-06-01 19:48 ` Avi Kivity 2009-06-01 19:53 ` Steven Rostedt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox