[Top][All Lists]
[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
- [Qemu-devel] [RFC][PATCH] Import Linux headers for KVM and vhost, Jan Kiszka, 2011/05/03
- Re: [Qemu-devel] [RFC][PATCH] Import Linux headers for KVM and vhost, Christoph Hellwig, 2011/05/03
- Re: [Qemu-devel] [RFC][PATCH] Import Linux headers for KVM and vhost,
Arnd Bergmann <=
- [Qemu-devel] [PATCH v2] Import Linux headers for KVM and vhost, Jan Kiszka, 2011/05/03
- Re: [Qemu-devel] [PATCH v2] Import Linux headers for KVM and vhost, Avi Kivity, 2011/05/03
- Re: [Qemu-devel] [PATCH v2] Import Linux headers for KVM and vhost, Jan Kiszka, 2011/05/03
- Re: [Qemu-devel] [PATCH v2] Import Linux headers for KVM and vhost, Avi Kivity, 2011/05/03
- Re: [Qemu-devel] [PATCH v2] Import Linux headers for KVM and vhost, Edgar E. Iglesias, 2011/05/03
- Re: [Qemu-devel] [PATCH v2] Import Linux headers for KVM and vhost, Jan Kiszka, 2011/05/03
- Re: [Qemu-devel] [PATCH v2] Import Linux headers for KVM and vhost, Scott Wood, 2011/05/03
- Re: [Qemu-devel] [PATCH v2] Import Linux headers for KVM and vhost, Arnd Bergmann, 2011/05/03
Re: [Qemu-devel] [PATCH v2] Import Linux headers for KVM and vhost, Peter Maydell, 2011/05/03