From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: Fix MAXPHYADDR calculation when cpuid does not support it Date: Sun, 11 Apr 2010 15:35:41 +0300 Message-ID: <4BC1C21D.3070507@redhat.com> References: <1270989212-3117-1-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Marcelo Tosatti , Pekka Enberg Return-path: Received: from mx1.redhat.com ([209.132.183.28]:26972 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751272Ab0DKMft (ORCPT ); Sun, 11 Apr 2010 08:35:49 -0400 In-Reply-To: <1270989212-3117-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 04/11/2010 03:33 PM, Avi Kivity wrote: > MAXPHYADDR is derived from cpuid 0x80000008, but when that isn't present, we > get some random value. > > Fix by checking first that cpuid 0x80000008 is supported. > > Pekka Enberg > ^ += Reported-by: (looking forward to Tested-by: too) -- error compiling committee.c: too many arguments to function