RE: [PATCH 37/46] Staging: hv: vmbus: Check for events before messages

KY Srinivasan
2011-08-31T14:22:57Z

> -----Original Message-----
> From: Greg KH [mailto:greg@kroah.com]
> Sent: Tuesday, August 30, 2011 1:38 PM
> To: KY Srinivasan
> Cc: gregkh@suse.de; linux-kernel@vger.kernel.org;
> devel@linuxdriverproject.org; virtualization@lists.osdl.org; Haiyang Zhang
> Subject: Re: [PATCH 37/46] Staging: hv: vmbus: Check for events before
> messages
>
> On Tue, Aug 30, 2011 at 05:06:39PM +0000, KY Srinivasan wrote:
> > > On Sat, Aug 27, 2011 at 11:31:36AM -0700, K. Y. Srinivasan wrote:
> > > > Conform to Windows specification by checking for events before messages.
> > >
> > > What specification?
> > >
> > > Care to provide a comment in the code that you are doing this in this
> > > explicit order because of some rule that the hypervisor imposes on us?
> >
> > I am not sure if this is documented anywhere (publicly). In talking to Windows
> > guys, they suggested this is the order in which it is done on Windows guests
> and suggested
> > I should do the same. I will see if there is some public documentation that
> specifies this.
>
> All you need to do is just document it in the code and I'll be happy.
> We don't rely on external documentation for things to be changed, in
> fact, there usually isn't any such thing :)

Ok; will do.

Regards,

K. Y