KVM: forward declare structs in kvm_types.h
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 Aug 2014 12:01:17 +0000 (14:01 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 Aug 2014 14:35:53 +0000 (16:35 +0200)
commit656473003bc7e056c3bbd4a4d9832dad01e86f76
treebc703dbf33c098a13c028aad2a99d9fba2a21643
parentd5b77069701600b8189d3b4409b69f23ac4f5bc2
KVM: forward declare structs in kvm_types.h

Opaque KVM structs are useful for prototypes in asm/kvm_host.h, to avoid
"'struct foo' declared inside parameter list" warnings (and consequent
breakage due to conflicting types).

Move them from individual files to a generic place in linux/kvm_types.h.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/arm/include/asm/kvm_host.h
arch/arm64/include/asm/kvm_host.h
arch/ia64/include/asm/kvm_host.h
arch/mips/include/asm/kvm_host.h
arch/powerpc/include/asm/kvm_host.h
arch/s390/include/asm/kvm_host.h
arch/x86/include/asm/kvm_host.h
include/linux/kvm_host.h
include/linux/kvm_types.h