From: Avi Kivity Date: Sun, 11 Apr 2010 12:33:32 +0000 (+0300) Subject: KVM: Fix MAXPHYADDR calculation when cpuid does not support it X-Git-Tag: v2.6.35-rc1~436^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7a711971edd952352a89698db1d36f469e25f77;p=pandora-kernel.git KVM: Fix MAXPHYADDR calculation when cpuid does not support it 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. Acked-by: Pekka Enberg Signed-off-by: Avi Kivity Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed