]> Git Repo - qemu.git/commitdiff
update-linux-headers.sh: Pull in asm-generic/kvm_para.h
authorPeter Maydell <[email protected]>
Wed, 25 Jul 2012 15:29:07 +0000 (16:29 +0100)
committerMarcelo Tosatti <[email protected]>
Tue, 14 Aug 2012 22:23:17 +0000 (19:23 -0300)
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 <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
scripts/update-linux-headers.sh

index 9d2a4bc4b4c167b4112c313ac9f09389526f5102..a639c5bff0d7c2d1bb65de82b50a70608d0e3b2a 100755 (executable)
@@ -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
This page took 0.025956 seconds and 4 git commands to generate.