diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2013-04-22 16:00:13 -0300 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-05-01 23:21:08 +0200 |
commit | fc7a504c0126b16aa2bd50d92584e9cc08f636a3 (patch) | |
tree | 0c76d2e1068f5927cf3d5affaf311e1435d474f6 | |
parent | 90e4b0c3de2b3927e71f23d95c3c27d60e5c89cc (diff) |
target-i386/kvm.c: Code formatting changes
Add appropriate spaces around operators, and break line where it needs
to be broken to allow feature-words array to be introduced without
having too-long lines.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r-- | target-i386/kvm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 0e7cc8113f..03d3059f94 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -613,7 +613,8 @@ int kvm_arch_init_vcpu(CPUState *cs) cpuid_data.cpuid.nent = cpuid_i; if (((env->cpuid_version >> 8)&0xF) >= 6 - && (env->cpuid_features&(CPUID_MCE|CPUID_MCA)) == (CPUID_MCE|CPUID_MCA) + && (env->cpuid_features & (CPUID_MCE | CPUID_MCA)) == + (CPUID_MCE | CPUID_MCA) && kvm_check_extension(cs->kvm_state, KVM_CAP_MCE) > 0) { uint64_t mcg_cap; int banks; |