From patchwork Mon Jan 11 07:51:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 72111 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0B7pb4a014863 for ; Mon, 11 Jan 2010 07:51:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751970Ab0AKHvf (ORCPT ); Mon, 11 Jan 2010 02:51:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751895Ab0AKHvf (ORCPT ); Mon, 11 Jan 2010 02:51:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:10610 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751856Ab0AKHve (ORCPT ); Mon, 11 Jan 2010 02:51:34 -0500 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o0B7pVws021137 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 11 Jan 2010 02:51:32 -0500 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o0B7pUjK008170; Mon, 11 Jan 2010 02:51:31 -0500 Received: by dhcp-1-237.tlv.redhat.com (Postfix, from userid 13519) id 5D22818D450; Mon, 11 Jan 2010 09:51:30 +0200 (IST) Date: Mon, 11 Jan 2010 09:51:30 +0200 From: Gleb Natapov To: Avi Kivity Cc: qemu-devel , KVM list Subject: Re: New kvm-related qemu patch queue Message-ID: <20100111075130.GA7549@redhat.com> References: <4B49C1D3.1070308@redhat.com> <20100110142820.GN4905@redhat.com> <4B49E494.3030400@redhat.com> <20100110144904.GO4905@redhat.com> <4B49E9C0.1020108@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4B49E9C0.1020108@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c index 82e362c..b3c371c 100644 --- a/qemu-kvm-x86.c +++ b/qemu-kvm-x86.c @@ -1308,7 +1308,7 @@ int kvm_arch_init_vcpu(CPUState *cenv) pv_ent = &cpuid_ent[cpuid_nent++]; memset(pv_ent, 0, sizeof(*pv_ent)); pv_ent->function = KVM_CPUID_FEATURES; - pv_ent->eax = get_para_features(kvm_context); + pv_ent->eax = cenv->cpuid_kvm_features & get_para_features(kvm_context); #endif kvm_trim_features(&cenv->cpuid_features,