fix mce check extension
PATCH 1/1 fix mce check extension
Because a patch got into marcelo's tree before mine did, I forgot to convert one user of kvm_check_extension. Here's the fix for it.
Signed-off-by Glauber Costa <[email protected]>
--- qemu-kvm-x86.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
qemu-kvm-x86.c +1 -1
@@ -1338,7 +1338,7 @@ int kvm_arch_qemu_init_env(CPUState *cenv)#ifdef KVM_CAP_MCE if (((cenv->cpuid_version >>8 )&0xF ) >=6 && (cenv->cpuid_features&(CPUID_MCE |CPUID_MCA )) == (CPUID_MCE |CPUID_MCA ) - &&kvm_check_extension (kvm_context,KVM_CAP_MCE ) >0 ) { + &&kvm_check_extension (kvm_state,KVM_CAP_MCE ) >0 ) {uint64_t mcg_cap;int banks;
Signature · 1 line
1.6.2.2