xen: mask extended topology info in cpuid
commit9416d12bcaa77126bd55f7df2cb4e78b711f97bd
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 22 Oct 2009 23:41:15 +0000 (22 16:41 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:22:41 +0000 (9 16:22 -0800)
tree7b56ae0c17fe2e3f4b21b66fca6f01a8a4634354
parentb318606e41620d2fee78444ae54533a323108e2b
xen: mask extended topology info in cpuid

commit 82d6469916c6fcfa345636a49004c9d1753905d1 upstream.

A Xen guest never needs to know about extended topology, and knowing
would just confuse it.

This patch just zeros ebx in leaf 0xb which indicates no topology info,
preventing a crash under Xen on cpus which support this leaf.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/xen/enlighten.c