[RFC PATCH 17/17] KVM: PPC: Add an ioctl for userspace to select which platform to emulate
agraf at suse.de
Mon Jul 4 21:41:20 EST 2011
On 04.07.2011, at 13:37, Avi Kivity wrote:
> 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.
Hrm. Too bad :).
More information about the Linuxppc-dev