All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org,
	Peter Maydell <peter.maydell@linaro.org>,
	Marcelo Tosatti <mtosatti@redhat.com>
Subject: [PATCH 4/4] update-linux-headers.sh: Pull in asm-generic/kvm_para.h
Date: Tue, 14 Aug 2012 20:59:49 -0300	[thread overview]
Message-ID: <256d046ca70788e4cb3aad56cda64ad81f19b7cd.1344988789.git.mtosatti@redhat.com> (raw)
In-Reply-To: <cover.1344988789.git.mtosatti@redhat.com>

From: Peter Maydell <peter.maydell@linaro.org>

Add asm-generic/kvm_para.h to the set of non-architecture specific
KVM kernel headers we copy into QEMU. This header may be included
by an architecture's kvm_para.h header.

Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
---
 scripts/update-linux-headers.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 9d2a4bc..a639c5b 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -46,6 +46,11 @@ mkdir -p "$output/linux-headers/linux"
 for header in kvm.h kvm_para.h vhost.h virtio_config.h virtio_ring.h; do
     cp "$tmpdir/include/linux/$header" "$output/linux-headers/linux"
 done
+rm -rf "$output/linux-headers/asm-generic"
+mkdir -p "$output/linux-headers/asm-generic"
+for header in kvm_para.h; do
+    cp "$tmpdir/include/asm-generic/$header" "$output/linux-headers/asm-generic"
+done
 if [ -L "$linux/source" ]; then
     cp "$linux/source/COPYING" "$output/linux-headers"
 else
-- 
1.7.6.4


WARNING: multiple messages have this Message-ID (diff)
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Marcelo Tosatti <mtosatti@redhat.com>,
	qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: [Qemu-devel] [PATCH 4/4] update-linux-headers.sh: Pull in asm-generic/kvm_para.h
Date: Tue, 14 Aug 2012 20:59:49 -0300	[thread overview]
Message-ID: <256d046ca70788e4cb3aad56cda64ad81f19b7cd.1344988789.git.mtosatti@redhat.com> (raw)
In-Reply-To: <cover.1344988789.git.mtosatti@redhat.com>

From: Peter Maydell <peter.maydell@linaro.org>

Add asm-generic/kvm_para.h to the set of non-architecture specific
KVM kernel headers we copy into QEMU. This header may be included
by an architecture's kvm_para.h header.

Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
---
 scripts/update-linux-headers.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 9d2a4bc..a639c5b 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -46,6 +46,11 @@ mkdir -p "$output/linux-headers/linux"
 for header in kvm.h kvm_para.h vhost.h virtio_config.h virtio_ring.h; do
     cp "$tmpdir/include/linux/$header" "$output/linux-headers/linux"
 done
+rm -rf "$output/linux-headers/asm-generic"
+mkdir -p "$output/linux-headers/asm-generic"
+for header in kvm_para.h; do
+    cp "$tmpdir/include/asm-generic/$header" "$output/linux-headers/asm-generic"
+done
 if [ -L "$linux/source" ]; then
     cp "$linux/source/COPYING" "$output/linux-headers"
 else
-- 
1.7.6.4

  parent reply	other threads:[~2012-08-15  0:02 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-14 23:59 [PATCH 0/4] [PULL] qemu-kvm.git uq/master queue Marcelo Tosatti
2012-08-14 23:59 ` [Qemu-devel] " Marcelo Tosatti
2012-08-14 23:59 ` [PATCH 1/4] kvm: i8254: Cache kernel clock offset in KVMPITState Marcelo Tosatti
2012-08-14 23:59   ` [Qemu-devel] " Marcelo Tosatti
2012-08-14 23:59 ` [PATCH 2/4] kvm: i8254: Finish time conversion fix Marcelo Tosatti
2012-08-14 23:59   ` [Qemu-devel] " Marcelo Tosatti
2012-08-14 23:59 ` [PATCH 3/4] kvmvapic: Disable if there is insufficient memory Marcelo Tosatti
2012-08-14 23:59   ` [Qemu-devel] " Marcelo Tosatti
2012-08-14 23:59 ` Marcelo Tosatti [this message]
2012-08-14 23:59   ` [Qemu-devel] [PATCH 4/4] update-linux-headers.sh: Pull in asm-generic/kvm_para.h Marcelo Tosatti
2012-08-15  7:46 ` [PATCH 0/4] [PULL] qemu-kvm.git uq/master queue Peter Maydell
2012-08-15  7:46   ` [Qemu-devel] " Peter Maydell
2012-08-15 18:10   ` Marcelo Tosatti
2012-08-15 18:10     ` [Qemu-devel] " Marcelo Tosatti
2012-08-15 19:48 ` Anthony Liguori
2012-08-15 19:48   ` [Qemu-devel] " Anthony Liguori

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=256d046ca70788e4cb3aad56cda64ad81f19b7cd.1344988789.git.mtosatti@redhat.com \
    --to=mtosatti@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=kvm@vger.kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.