kvm: expose struct KVMState
commit5f8a6bce1f1080058ed29d716cae81ea805142ae
authorChenyi Qiang <chenyi.qiang@intel.com>
Thu, 29 Sep 2022 07:20:13 +0000 (29 15:20 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 11 Oct 2022 07:36:00 +0000 (11 09:36 +0200)
tree4682287d6ea38e8cb1947a6a2d89a0f8f6f28448
parent3dba0a335cf5c53146b606be6ddfab4df81c464e
kvm: expose struct KVMState

Expose struct KVMState out of kvm-all.c so that the field of struct
KVMState can be accessed when defining target-specific accelerator
properties.

Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
Message-Id: <20220929072014.20705-4-chenyi.qiang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c
include/sysemu/kvm_int.h