WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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


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