kvm: Make kvm_state globally available
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 7 Feb 2011 11:19:25 +0000 (12:19 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 14 Feb 2011 14:39:47 +0000 (12:39 -0200)
commit892bbdf6d9676664b3c71f99e28a13d9c9e235f9
treeef1238a5bdc92d641fd824a64f0c04d43798644f
parent7398b54f0a0bf5e3f1670e3838dc428c7cd802cb
kvm: Make kvm_state globally available

KVM-assisted devices need access to it but we have no clean channel to
distribute a reference. As a workaround until there is a better
solution, export kvm_state for global use, though use should remain
restricted to the mentioned scenario.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
kvm-all.c
kvm.h