On 02/10/2015 06:45 AM, Andrew Cooper wrote:
- memcpy(&sysctl.u.numainfo, put_info, sizeof(*put_info));+ sysctl.u.numainfo.max_node_index = *max_nodes - 1;As you have you have already changed these hypercalls, can we fix the length handling so it doesn't require +1 or -1. Xen should receive the length of the arrays, and return the number of elements written, with no further adjustment necessary.
Yes, I should change this too. -boris