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

Re: [Xen-devel] trouble with the new mmap-batch interface



On 20/01/2010 21:38, "Brendan Cully" <brendan@xxxxxxxxx> wrote:

>> It seems unlikely to me that this is actual breakage, but I've built
>> world a couple of times. Before I put printfs everywhere I thought I'd
>> ask if anyone else had seen this or had any ideas.
> 
> The attached patch fixes ioemu for me.

So the issue is that the kernel only writes back the err array if there was
at least one failure in the batch. Given the alternative is pre-zeroing the
array, shouldn't we just unconditionally copy back the array, even if it is
all zeroes?

Jan: Is it in fact a bug, because IOCTL_PRIVCMD_MMAPBATCH is similarly
structured (but legitimately, in that case)?

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