* Matt Evans <[email protected]> wrote:
> Since tools/kvm/include/linux/types.h only requires __u32,
> __u64 et al from <asm/types.h>, wouldn't it be most
> straightforward to just #include <asm-generic/int-ll64.h>?
> This avoids #define __KERNEL__ breaking other includes brought
> into userland, avoids changing system headers/distros, and
> includes the file we're really interested in on both x86 &
> PPC.
No system headers need to be changed: you can just patch
powerpc/types.h with the extra __SANE_USERSPACE__ define (or any
suitable name) and the KVM tool should work as-is.
The beauty of tools/kvm/ being integrated into the kernel tree.
Really, if that works and if the PowerPC folks agree then we
have an immediate, fully adequate, instantly applicable
solution.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html