Le 29/01/2014 18:47, Andrew Cooper a écrit : > This would be nice, although it would involve some more selection on the > exclusions. Currently, running Xen excludes all other cpu detection > methods as they are more likely than not to be wrong. > > One solution to this would be to have a "generic" x86 cpuid topology > generator which must be parametrised with a structure, at which point > both Xen and the fallback x86 methods can supply appropriate function > pointers. > > This would allow Xen to use the generic topology code while still > preventing fallback to the x86 topology detection method.
Right, that'd work better, and the code would be nicer. I'll look at this. Brice