[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] RE: [PATCH][ioemu] Ignore the first watch fire in xenstore_process_dm_command_event()



Cui, Dexuan writes ("RE: [PATCH][ioemu] Ignore the first watch fire in 
xenstore_process_dm_command_event()"):
> Ian Jackson wrote:
> > When we start processing a command we should either (i) delete it from
> > xenstore immediately, so that future watch triggerings either don't
> > see the command or actually see genuine new invocations, 
>
> Thanks for your suggestion.
> I prefer this method. I'll post a new patch.

Right.  If you do this, make sure that you don't give xend the
impression it's safe to overwrite the parameters of the old command
until you've read them all.  Otherwise two commands in quick
succession (or simultaneously) will go wrong.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.