From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXtgC-00030J-I0 for qemu-devel@nongnu.org; Thu, 02 May 2013 09:36:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXtg4-0004Xq-AY for qemu-devel@nongnu.org; Thu, 02 May 2013 09:36:12 -0400 Received: from cantor2.suse.de ([195.135.220.15]:46632 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXtg4-0004X2-3p for qemu-devel@nongnu.org; Thu, 02 May 2013 09:36:04 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Thu, 2 May 2013 15:35:51 +0200 Message-Id: <1367501755-32272-26-git-send-email-afaerber@suse.de> In-Reply-To: <1367501755-32272-1-git-send-email-afaerber@suse.de> References: <1367501755-32272-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 25/29] target-i386/kvm.c: Code formatting changes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "open list:X86" , Marcelo Tosatti , Eduardo Habkost , Gleb Natapov , =?UTF-8?q?Andreas=20F=C3=A4rber?= From: Eduardo Habkost 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 Reviewed-by: Igor Mammedov Signed-off-by: Andreas F=C3=A4rber --- target-i386/kvm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 0e7cc81..03d3059 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 =3D cpuid_i; =20 if (((env->cpuid_version >> 8)&0xF) >=3D 6 - && (env->cpuid_features&(CPUID_MCE|CPUID_MCA)) =3D=3D (CPUID_MCE= |CPUID_MCA) + && (env->cpuid_features & (CPUID_MCE | CPUID_MCA)) =3D=3D + (CPUID_MCE | CPUID_MCA) && kvm_check_extension(cs->kvm_state, KVM_CAP_MCE) > 0) { uint64_t mcg_cap; int banks; --=20 1.8.1.4