Commit 9c5136f6 authored by Yang Zhong's avatar Yang Zhong Committed by Lin Wang
Browse files

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: default avatarYang Zhong <yang.zhong@intel.com>
Message-Id: <20211223145322.2914028-3-yang.zhong@intel.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarLin Wang <lin.x.wang@intel.com>
parent fda30b1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment