Re: [PATCH 3/3] KVM: Expose MSRs to userspace

Christoph Hellwig
2006-11-17T08:06:02Z

On Thu, Nov 16, 2006 at 09:17:18PM +0200, Avi Kivity wrote:
> Heh. That was the original implementation by Uri. I felt that was
> wrong because _IOW() encodes the size in the ioctl number, bit the
> actual size is different.

That really shouldn't be a problem. After all the pointer approach
doesn't encode the transfered size either. Given that the variable
sized array gives a much cleaner interface you should use it.