qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC][PATCH] Import Linux headers for KVM and vhost


From: Arnd Bergmann
Subject: Re: [Qemu-devel] [RFC][PATCH] Import Linux headers for KVM and vhost
Date: Tue, 3 May 2011 17:41:27 +0200
User-agent: KMail/1.12.2 (Linux/2.6.37; KDE/4.3.2; x86_64; ; )

On Tuesday 03 May 2011, Jan Kiszka wrote:
> This helps reducing our build-time checks for feature support in the
> available Linux kernel headers. And it helps users that do not have
> sufficiently recent headers installed on their build machine.
> 
> Header upstate is triggered via 'make update-linux-headers', optionally
> specifying a kernel directory as source via 'LINUX='.
> 
> ---
> 
> I'm sure this is not yet perfect from technical POV (e.g. the patch to
> Makefile.target looks like a hack to me, better ideas welcome),
> therefore RFC and no SOB. But it should demonstrate the plan. The
> workflow for adding a new KVM feature support would be first a 'make
> update-linux-header LINUX=/my/local/linux' + git commit, and then the
> commit of the kvm, vhost, whatever changes.
> 
> Makefile        |   17 +++++++
> Makefile.target |    2 +-
> configure       |  127 ++++++++-----------------------------------------------
> 3 files changed, 36 insertions(+), 110 deletions(-)

Very nice!

The old way to poke into the kernel internals was really annoying and confusing.

        Arnd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]