[PATCH] KVM: forward declare structs in kvm_types.h

2014-08-29 Thread Paolo Bonzini
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

Re: [PATCH] KVM: forward declare structs in kvm_types.h

2014-08-29 Thread Radim Krčmář
2014-08-29 14:01+0200, Paolo Bonzini: 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.

Re: [PATCH] KVM: forward declare structs in kvm_types.h

2014-08-29 Thread Christian Borntraeger
On 29/08/14 14:01, Paolo Bonzini wrote: 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.

Re: [PATCH] KVM: forward declare structs in kvm_types.h

2014-08-29 Thread Paolo Bonzini
Il 29/08/2014 14:46, Radim Krčmář ha scritto: 2014-08-29 14:01+0200, Paolo Bonzini: 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