public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-kmod PATCH 2/2] sync: copy linux/vfio.h from kvm source tree
@ 2014-04-22 14:52 gsomlo
  2014-04-22 14:57 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: gsomlo @ 2014-04-22 14:52 UTC (permalink / raw)
  To: jan.kiszka; +Cc: kvm

Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
---

vfio.c gets copied by sync, and it needs vfio.h. I don't think there's
an easy way to #define ourselves out of this one, copying vfio.h into
kvm-kmod/include/linux/ seems to be the path of least resistance...

Thanks,
   Gabriel

P.S. I'm not a native Python speaker, so, while the glob() line does the
job, it may not be the most beautiful way to express the new requirement :)

 sync | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sync b/sync
index e447ec4..9902a11 100755
--- a/sync
+++ b/sync
@@ -433,6 +433,7 @@ def header_sync(arch):
     T = 'header'
     rmtree(T)
     for file in (glob('%(linux)s/include/linux/kvm*.h' % { 'linux': linux }) +
+                 glob('%(linux)s/include/linux/vfio.h' % { 'linux': linux }) +
                  glob('%(linux)s/include/uapi/linux/kvm*.h' % { 'linux': linux })):
         out = ('%(T)s/include/linux/%(name)s'
                % { 'T': T, 'name': os.path.basename(file) })
-- 
1.9.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-23  6:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-22 14:52 [kvm-kmod PATCH 2/2] sync: copy linux/vfio.h from kvm source tree gsomlo
2014-04-22 14:57 ` Jan Kiszka
2014-04-22 18:43   ` Gabriel L. Somlo
2014-04-23  6:00     ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox