[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()



On 16/06/2009 18:04, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx> wrote:

> A straightforward thought is: we can ignore the first watch fire. Please see
> the below patch.
> However I'm not sure if this is the best fix. And for the other watches(like
> "logdirty", "hdc") set in xenstore_parse_domain_config(), I think we should
> also double check them even if no actual bug has been observed yet.
> 
> Please comment.

Can you not treat the watch firing as an indication of maybe-changed, and
decide what to do based on current values you read from xenstore from within
the watch handler?

 -- Keir



_______________________________________________
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®.