virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: "Greg KH (gregkh@linuxfoundation.org)" <gregkh@linuxfoundation.org>
To: KY Srinivasan <kys@microsoft.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	"devel@linuxdriverproject.org" <devel@linuxdriverproject.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"virtualization@lists.osdl.org" <virtualization@lists.osdl.org>
Subject: Re: 0xB16B00B5? Really? (was Re: Move hyperv out of the drivers/staging/ directory)
Date: Thu, 19 Jul 2012 14:07:09 -0700	[thread overview]
Message-ID: <20120719210709.GA32031@kroah.com> (raw)
In-Reply-To: <426367E2313C2449837CD2DE46E7EAF923547292@SN2PRD0310MB382.namprd03.prod.outlook.com>

On Thu, Jul 19, 2012 at 02:11:47AM +0000, KY Srinivasan wrote:
> 
> 
> > -----Original Message-----
> > From: Paolo Bonzini [mailto:paolo.bonzini@gmail.com] On Behalf Of Paolo
> > Bonzini
> > Sent: Friday, July 13, 2012 6:23 AM
> > To: KY Srinivasan
> > Cc: Greg KH; devel@linuxdriverproject.org; linux-kernel@vger.kernel.org;
> > virtualization@lists.osdl.org
> > Subject: 0xB16B00B5? Really? (was Re: Move hyperv out of the drivers/staging/
> > directory)
> > 
> > Il 04/10/2011 21:34, Greg KH ha scritto:
> > > diff --git a/drivers/staging/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h
> > > similarity index 99%
> > > rename from drivers/staging/hv/hyperv_vmbus.h
> > > rename to drivers/hv/hyperv_vmbus.h
> > > index 3d2d836..8261cb6 100644
> > > --- a/drivers/staging/hv/hyperv_vmbus.h
> > > +++ b/drivers/hv/hyperv_vmbus.h
> > > @@ -28,8 +28,7 @@
> > >  #include <linux/list.h>
> > >  #include <asm/sync_bitops.h>
> > >  #include <linux/atomic.h>
> > > -
> > > -#include "hyperv.h"
> > > +#include <linux/hyperv.h>
> > >
> > >  /*
> > >   * The below CPUID leaves are present if
> > VersionAndFeatures.HypervisorPresent
> > 
> > git's rename detection snips away this gem:
> > 
> > +#define HV_LINUX_GUEST_ID_LO		0x00000000
> > +#define HV_LINUX_GUEST_ID_HI		0xB16B00B5
> > +#define HV_LINUX_GUEST_ID		(((u64)HV_LINUX_GUEST_ID_HI
> > << 32) | \
> > +					   HV_LINUX_GUEST_ID_LO)
> > 
> > Somone was trying to be funny, I guess.
> > 
> > KY, I suppose you have access to Hyper-V code or can ask someone who does.
> > Is this signature actually used in the Hyper-V host code?
> 
> Paolo,
> 
> As I noted earlier, this is just a guest ID that needs to be registered with the
> hypervisor.  Thanks  for reporting this issue and on behalf of Microsoft, I would
> like to  apologize for this offensive string. I have submitted a patch to fix this issue. 

You only changed it to be in decimal, you did not change the id at all.
Is there some reason why you can not change it?  You said there was a
reserved range of ids that could be used, perhaps just pick another one?
What is the valid range that can be used here?

thanks,

greg k-h

  parent reply	other threads:[~2012-07-19 21:07 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-22 16:17 Hyper-V TODO file K. Y. Srinivasan
2011-09-22 16:05 ` Joe Perches
2011-09-22 17:04 ` Greg KH
2011-09-22 17:20   ` KY Srinivasan
2011-09-22 17:36     ` Greg KH
2011-09-22 18:22       ` KY Srinivasan
2011-10-04 13:59       ` KY Srinivasan
2011-10-04 17:04         ` Greg KH
2011-10-04 17:23           ` KY Srinivasan
2011-10-04 19:34             ` Move hyperv out of the drivers/staging/ directory Greg KH
2011-10-04 21:22               ` KY Srinivasan
2011-10-05  2:49               ` KY Srinivasan
2012-07-13 10:23               ` 0xB16B00B5? Really? (was Re: Move hyperv out of the drivers/staging/ directory) Paolo Bonzini
2012-07-13 13:13                 ` KY Srinivasan
2012-07-13 13:15                   ` Paolo Bonzini
2012-07-13 13:21                     ` KY Srinivasan
2012-07-13 20:30                       ` 2976579765? " Paul Bolle
2012-07-13 13:24                     ` 0xB16B00B5? " Borislav Petkov
2012-07-13 19:00                       ` Steven Rostedt
2012-07-14 10:50                         ` Borislav Petkov
2012-07-19  2:11                 ` KY Srinivasan
2012-07-19 15:30                   ` Borislav Petkov
2012-07-19 15:53                     ` KY Srinivasan
2012-07-19 21:07                   ` Greg KH (gregkh@linuxfoundation.org) [this message]
2012-07-19 21:22                     ` KY Srinivasan
2012-07-19 22:01                       ` Greg KH (gregkh@linuxfoundation.org)
2012-07-19 22:30                         ` KY Srinivasan
2012-07-19 23:18                           ` Anthony Liguori
2012-07-20  0:37                             ` KY Srinivasan
2012-07-19 23:28                           ` Greg KH (gregkh@linuxfoundation.org)
2012-07-20  0:41                             ` KY Srinivasan
2012-07-20  7:59                               ` Bjørn Mork
2012-07-20  8:03                                 ` [PATCH] drivers: hv: use Linux version in guest ID Bjørn Mork
2012-07-20 15:26                                   ` Greg KH
2012-07-20 16:02                                     ` KY Srinivasan
2012-07-20 14:00                                 ` 0xB16B00B5? Really? (was Re: Move hyperv out of the drivers/staging/ directory) KY Srinivasan
2012-07-20 15:03                                   ` richard -rw- weinberger
2012-07-20 15:16                                     ` KY Srinivasan
2012-07-21 23:21                                     ` valdis.kletnieks

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120719210709.GA32031@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=devel@linuxdriverproject.org \
    --cc=kys@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=virtualization@lists.osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).