]> xenbits.xensource.com Git - xen.git/commit
xen/libxc: set CPUID topology leaf as unsupported for PV guests
authorDavid Vrabel <david.vrabel@citrix.com>
Sat, 16 Jul 2011 08:34:57 +0000 (09:34 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Sat, 16 Jul 2011 08:34:57 +0000 (09:34 +0100)
commit4485d1dc350575fbea3c68d55d9f12c87ef84ef8
tree5bb2d61b686b84c285e3e2d6361d5a881ea91837
parent8a9f9fa06d63c37b0b9131550dc218d98486ed1b
xen/libxc: set CPUID topology leaf as unsupported for PV guests

The result of a CPUID Extended Topology Enumeration leaf for PV guests
is invalid as the level in ECX is ignored.  This can cause some guests
to loop endlessly when trying to enumerate the topology.

Since the physical topology isn't useful to PV guests set the topology
leaf as unsupported.

Guests affected include Linux kernels prior 2.6.32 where a workaround
was applied ("xen: mask extended topology info in cpu",
82d6469916c6fcfa345636a49004c9d1753905d1).

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
xen-unstable changeset:   23700:867bb675b57b
xen-unstable date:        Sat Jul 16 09:05:45 2011 +0100
tools/libxc/xc_cpuid_x86.c
xen/arch/x86/traps.c