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

[Xen-devel] Re: [PATCH] Remove uneeded 'else if' when closing event channels.




On 2 Dec 2005, at 23:31, Rusty Russell wrote:

It can change, between lines 340 and 341 (where we have no locks held).

Hmm, you mean same domain makes another hypercall in parallel to close
the event channel then rebind it to a different domain?

Yes. That would be very stupid of the guest, but Xen needs to protect itself.

In which case, close fails with EINVAL?

I'm open to suggestions for a better error code.

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