[PATCH] KVM: Move gfn_to_memslot() to kvm_host.h

Avi Kivity avi at redhat.com
Tue Jan 3 03:13:56 EST 2012


On 01/02/2012 05:23 PM, Alexander Graf wrote:
> > Or we could move the implementation into a header file, with an extra __
> > prefix, and have the C stubs call those inlines, so we have exactly on
> > instantiation.  Your real mode code can then call the inlines.
>
> I like this version. That way everyone should be happy :)

Pretty much how everything is solved.  Pile up another layer of
indirection (compile-time here), everyone's happy, and the code bloats.

(I'm not against this, just grumpy)

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



More information about the Linuxppc-dev mailing list