summary refs log tree commit diff stats
path: root/target-i386/kvm.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-09-09 15:25:52 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-09-16 17:33:32 +0200
commiteddb4de3cc1403546b29e260068c4c1397cbd62d (patch)
tree48ce94a5d4f4430928e823bbddd0cd884b32bad6 /target-i386/kvm.c
parent120758fba4c52d1ccf3a8ae1fe3b7495f2b584d8 (diff)
downloadfocaccia-qemu-eddb4de3cc1403546b29e260068c4c1397cbd62d.tar.gz
focaccia-qemu-eddb4de3cc1403546b29e260068c4c1397cbd62d.zip
update-linux-headers: copy standard-headers files one by one
cp_virtio is called for both the asm-s390/ and linux/ directories,
so it looks for pci_regs.h and input.h files in asm-s390/ too.  This
makes little sense.  In the next patch we will have the opposite
problem; we want to add asm-x86/hyperv.h, and there's also a
linux/hyperv.h file with unwanted dependencies on additional Linux
uapi headers.  We do not want to copy linux/hyperv.h.

The solution is to make cp_virtio (now renamed to cp_portable) copy
one file only, instead of using the "find" command, and call it multiple
times.  The new function is really just a reindentation of the old one.

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-i386/kvm.c')
0 files changed, 0 insertions, 0 deletions