diff options
author | Yang Zhong <yang.zhong@intel.com> | 2022-05-30 09:18:34 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-06 09:26:53 +0200 |
commit | b0f3184e82817b700ea81bc76ebc8d999de35278 (patch) | |
tree | 52fb68b90cbe99c54de707bf290d7a23a55253e0 /hw | |
parent | d8f3a60931a700c327aa2ee10d0beaeea2cb97da (diff) |
target/i386: Fix wrong count setting
The previous patch used wrong count setting with index value, which got wrong
value from CPUID(EAX=12,ECX=0):EAX. So the SGX1 instruction can't be exposed
to VM and the SGX decice can't work in VM.
Fixes: d19d6ffa0710 ("target/i386: introduce helper to access supported CPUID")
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <20220530131834.1222801-1-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions