Skip to content
Commit 65647300 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent d5b77069
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment