From: Jan Kiszka <jan.kiszka@siemens.com>
To: Avi Kivity <avi@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Eduardo Habkost" <ehabkost@redhat.com>,
kvm@vger.kernel.org, qemu-devel@nongnu.org,
"Alexander Graf" <agraf@suse.de>,
"Andreas Färber" <andreas.faerber@web.de>,
"Christoph Hellwig" <hch@lst.de>
Subject: [Qemu-devel] [PATCH 00/12] [uq/master] Import linux headers and some cleanups
Date: Wed, 8 Jun 2011 16:10:54 +0200 [thread overview]
Message-ID: <cover.1307542247.git.jan.kiszka@siemens.com> (raw)
Licensing of the virtio headers is no clarified. So we can finally
resolve the clumbsy and constantly buggy #ifdef'ery around old KVM and
virtio headers. Recent example: current qemu-kvm does not build against
2.6.32 headers.
This series introduces an import mechanism for all required Linux
headers so that the appropriate versions can be kept safely inside the
QEMU tree. I've incorporated all the valuable review comments on the
first version and rebased the result over current uq/master after
rebasing that one over current QEMU master.
Please note that I had no chance to test-build PPC or s390.
Beside the header topic, this series also includes a few assorted KVM
cleanup patches so that my queue is empty again.
CC: Alexander Graf <agraf@suse.de>
CC: Andreas Färber <andreas.faerber@web.de>
CC: Christoph Hellwig <hch@lst.de>
CC: Eduardo Habkost <ehabkost@redhat.com>
CC: Peter Maydell <peter.maydell@linaro.org>
Jan Kiszka (12):
Add kernel header update script
Import kernel headers
Switch build system to accompanied kernel headers
kvm: Drop CONFIG_KVM_PARA
kvm: ppc: Drop CONFIG_KVM_PPC_PVR
kvm: Drop useless zero-initializations
kvm: Drop KVM_CAP build dependencies
kvm: x86: Drop KVM_CAP build dependencies
kvm: ppc: Drop KVM_CAP build dependencies
kvm: Clean up stubs
kvm: x86: Pass KVMState to kvm_arch_get_supported_cpuid
Remove unneeded kvm.h from cpu-exec.c
Makefile.target | 4 +-
configure | 149 +------
cpu-exec.c | 1 -
hw/kvmclock.c | 9 -
kvm-all.c | 13 -
kvm-stub.c | 18 +-
kvm.h | 2 +-
linux-headers/COPYING | 356 +++++++++++++++
linux-headers/README | 2 +
linux-headers/asm-powerpc/kvm.h | 275 ++++++++++++
linux-headers/asm-powerpc/kvm_para.h | 53 +++
linux-headers/asm-s390/kvm.h | 44 ++
linux-headers/asm-s390/kvm_para.h | 17 +
linux-headers/asm-x86/hyperv.h | 193 ++++++++
linux-headers/asm-x86/kvm.h | 324 ++++++++++++++
linux-headers/asm-x86/kvm_para.h | 79 ++++
linux-headers/linux/kvm.h | 804 ++++++++++++++++++++++++++++++++++
linux-headers/linux/kvm_para.h | 29 ++
linux-headers/linux/vhost.h | 130 ++++++
linux-headers/linux/virtio_config.h | 54 +++
linux-headers/linux/virtio_ring.h | 163 +++++++
scripts/update-linux-headers.sh | 55 +++
target-i386/cpuid.c | 20 +-
target-i386/kvm.c | 123 +-----
target-ppc/kvm.c | 23 -
target-s390x/cpu.h | 10 -
target-s390x/op_helper.c | 1 +
27 files changed, 2630 insertions(+), 321 deletions(-)
create mode 100644 linux-headers/COPYING
create mode 100644 linux-headers/README
create mode 100644 linux-headers/asm-powerpc/kvm.h
create mode 100644 linux-headers/asm-powerpc/kvm_para.h
create mode 100644 linux-headers/asm-s390/kvm.h
create mode 100644 linux-headers/asm-s390/kvm_para.h
create mode 100644 linux-headers/asm-x86/hyperv.h
create mode 100644 linux-headers/asm-x86/kvm.h
create mode 100644 linux-headers/asm-x86/kvm_para.h
create mode 100644 linux-headers/linux/kvm.h
create mode 100644 linux-headers/linux/kvm_para.h
create mode 100644 linux-headers/linux/vhost.h
create mode 100644 linux-headers/linux/virtio_config.h
create mode 100644 linux-headers/linux/virtio_ring.h
create mode 100755 scripts/update-linux-headers.sh
next reply other threads:[~2011-06-08 14:11 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-08 14:10 Jan Kiszka [this message]
2011-06-08 14:10 ` [Qemu-devel] [PATCH 01/12] Add kernel header update script Jan Kiszka
2011-06-08 14:33 ` Peter Maydell
2011-06-08 14:39 ` Jan Kiszka
2011-06-08 14:51 ` Peter Maydell
2011-06-08 15:06 ` [Qemu-devel] [PATCH v2 " Jan Kiszka
2011-06-08 15:57 ` Peter Maydell
2011-06-08 16:22 ` [Qemu-devel] [PATCH v3 " Jan Kiszka
2011-06-08 17:30 ` Peter Maydell
2011-06-08 14:10 ` [Qemu-devel] [PATCH 02/12] Import kernel headers Jan Kiszka
2011-06-08 14:10 ` [Qemu-devel] [PATCH 03/12] Switch build system to accompanied " Jan Kiszka
2011-06-14 11:11 ` Alexander Graf
2011-06-14 11:21 ` Jan Kiszka
2011-06-14 11:28 ` Alexander Graf
2011-06-14 11:32 ` Jan Kiszka
2011-06-22 20:51 ` Stefan Weil
2011-06-22 21:37 ` Jan Kiszka
2011-06-23 5:37 ` Stefan Weil
2011-06-23 7:18 ` Jan Kiszka
2011-06-23 8:05 ` [Qemu-devel] [PATCH] Fix fallouts from Linux header inclusion Jan Kiszka
2011-06-23 10:59 ` Andreas Färber
2011-06-23 15:14 ` Stefan Weil
2011-06-26 18:01 ` Blue Swirl
2011-06-08 14:10 ` [Qemu-devel] [PATCH 04/12] kvm: Drop CONFIG_KVM_PARA Jan Kiszka
2011-06-08 14:10 ` [Qemu-devel] [PATCH 05/12] kvm: ppc: Drop CONFIG_KVM_PPC_PVR Jan Kiszka
2011-06-14 11:06 ` Alexander Graf
2011-06-08 14:11 ` [Qemu-devel] [PATCH 06/12] kvm: Drop useless zero-initializations Jan Kiszka
2011-06-08 14:11 ` [Qemu-devel] [PATCH 07/12] kvm: Drop KVM_CAP build dependencies Jan Kiszka
2011-06-14 11:05 ` Alexander Graf
2011-06-14 11:07 ` Jan Kiszka
2011-06-14 11:17 ` Alexander Graf
2011-06-14 11:19 ` Jan Kiszka
2011-06-14 11:25 ` Alexander Graf
2011-06-08 14:11 ` [Qemu-devel] [PATCH 08/12] kvm: x86: " Jan Kiszka
2011-06-08 14:11 ` [Qemu-devel] [PATCH 09/12] kvm: ppc: " Jan Kiszka
2011-06-10 18:32 ` Eduardo Habkost
2011-06-11 7:45 ` Jan Kiszka
2011-06-14 11:07 ` Alexander Graf
2011-06-08 14:11 ` [Qemu-devel] [PATCH 10/12] kvm: Clean up stubs Jan Kiszka
2011-06-08 14:11 ` [Qemu-devel] [PATCH 11/12] kvm: x86: Pass KVMState to kvm_arch_get_supported_cpuid Jan Kiszka
2011-06-09 17:33 ` Eduardo Habkost
2011-06-09 17:41 ` Jan Kiszka
2011-06-09 18:08 ` Eduardo Habkost
2011-06-09 19:53 ` Jan Kiszka
2011-06-08 14:11 ` [Qemu-devel] [PATCH 12/12] Remove unneeded kvm.h from cpu-exec.c Jan Kiszka
2011-06-20 18:24 ` [Qemu-devel] [PATCH 00/12] [uq/master] Import linux headers and some cleanups Marcelo Tosatti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1307542247.git.jan.kiszka@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=agraf@suse.de \
--cc=andreas.faerber@web.de \
--cc=avi@redhat.com \
--cc=ehabkost@redhat.com \
--cc=hch@lst.de \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).