+    /* IN/OUT */
+    unsigned int    nr_entries;

Perhaps I am missing something but I can't find any API documentation
for the return value and error returns from this new hypercall.

I think this is in line with everything else in this header - am I
overlooking something?

In particular, wouldn't it be sensible to write down that if the
number of entries available is bigger than nr_entries, the hypercall
fails with ERANGE, sets nr_entries to the real number of entries, and
leaves the buffer in an undefined state ?

I can add a sentence to that effect.


Jan,

Please deliver your final patch to me and then I can resend that next.

Thanks
Tiejun

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to