kvm: external module: fix to work with 2.6.28 kernel
If you run header-sync against a kernel which has asm/kvm.h but not
e.g. asm/vmx.h then $(wildcard $(headers-new)) returns a string with
expanded kvm.h path and the vmx.h glob removed. We then pass the
original globs to rsync causing that to fail when vmx.h can't be
found:
rsync: link_stat ".../asm/vmx*.h" failed: No such file or directory (2)
Fix by passing the expanded paths returned by the wildcard function to
rsync.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>