mirror of
https://github.com/qemu/qemu.git
synced 2025-08-09 10:25:06 +00:00
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>
This commit is contained in:
parent
90e4b0c3de
commit
fc7a504c01
@ -613,7 +613,8 @@ int kvm_arch_init_vcpu(CPUState *cs)
|
|||||||
cpuid_data.cpuid.nent = cpuid_i;
|
cpuid_data.cpuid.nent = cpuid_i;
|
||||||
|
|
||||||
if (((env->cpuid_version >> 8)&0xF) >= 6
|
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) {
|
&& kvm_check_extension(cs->kvm_state, KVM_CAP_MCE) > 0) {
|
||||||
uint64_t mcg_cap;
|
uint64_t mcg_cap;
|
||||||
int banks;
|
int banks;
|
||||||
|
Loading…
Reference in New Issue
Block a user