selftest: kvm: Move struct kvm_x86_state to header
mainline inclusion from mainline-v5.17-rc1 commit 6559b4a5 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I5RQLJ CVE: NA Intel-SIG: commit 6559b4a5 selftest: kvm: Move struct kvm_x86_state to header. -------------------------------- Those changes can avoid dereferencing pointer compile issue when amx_test.c reference state->xsave. Move struct kvm_x86_state definition to processor.h. Signed-off-by:Yang Zhong <yang.zhong@intel.com> Message-Id: <20211223145322.2914028-3-yang.zhong@intel.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Lin Wang <lin.x.wang@intel.com>
Loading
Please sign in to comment