[RFC PATCH 17/17] KVM: PPC: Add an ioctl for userspace to select which platform to emulate
avi at redhat.com
Mon Jul 4 21:37:53 EST 2011
On 07/04/2011 02:36 PM, Alexander Graf wrote:
> > What intermediate steps? We can't add fields to the structure before we get the extensibility infrastructure, but that's all.
> If we add it now without extensibility code, we will have a kernel that only knows the ioctl with the size as it is now. If we later add another field, the ioctl size changes which would render new user space running on that particular kernel to fail, because it doesn't have the "just truncate the ioctl param to the size" logic yet.
You're right. So let's add the padding now, and only use the great new
stuff after it's actually in.
Working ugly is better than broken pretty.
error compiling committee.c: too many arguments to function
More information about the Linuxppc-dev