Patchwork [01/10] scripts/update-linux-headers.sh: add virtio

login
register
mail settings
Submitter Michael S. Tsirkin
Date May 23, 2013, 2:34 p.m.
Message ID <1369319649-23900-2-git-send-email-mst@redhat.com>
Download mbox | patch
Permalink /patch/245967/
State New
Headers show

Comments

Michael S. Tsirkin - May 23, 2013, 2:34 p.m.
Add virtio headers to make it easy to keep
things in sync.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 scripts/update-linux-headers.sh | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

Patch

diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 120a694..334fba9 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -61,7 +61,22 @@  done
 
 rm -rf "$output/linux-headers/linux"
 mkdir -p "$output/linux-headers/linux"
-for header in kvm.h kvm_para.h vfio.h vhost.h virtio_config.h virtio_ring.h; do
+for header in \
+    kvm.h \
+    kvm_para.h \
+    vfio.h \
+    vhost.h \
+    virtio_9p.h \
+    virtio_balloon.h \
+    virtio_blk.h \
+    virtio_config.h \
+    virtio_console.h \
+    virtio_ids.h \
+    virtio_net.h \
+    virtio_pci.h \
+    virtio_ring.h \
+    virtio_rng.h \
+    ; do
     cp "$tmpdir/include/linux/$header" "$output/linux-headers/linux"
 done
 rm -rf "$output/linux-headers/asm-generic"