[RFC PATCH 17/17] KVM: PPC: Add an ioctl for userspace to select which platform to emulate

Avi Kivity avi at redhat.com
Sun Jul 3 19:12:16 EST 2011


On 07/03/2011 12:09 PM, Alexander Graf wrote:
> >
> >  Right.  The idea is that if KVM_FLAG_BLAH implies a field kvm_struct::blah, then either both are present in the headers, or none  of them.
>
> Yup, makes sense. I like the idea :). Gets rid of all the useless paddings and reserved fields. We could even truncate the structs that already have paddings in them if we only copy min(sizeof(real_struct), ioctl_passed_size); (which we should anyways).
>

No, we can't change anything that is already out.  If will change the 
ioctl numbers, so building against new headers but running against an 
old kernel will fail.

> How long until we get a patch set? :)

Well, I'd really like to get the qemu memory API out first.

-- 
error compiling committee.c: too many arguments to function



More information about the Linuxppc-dev mailing list