> > [3] My colleague Alan noticed what appears to be a related problem: if > > we launch a guest with '-cpu <model>,-ht --enable-kvm', which means > > explicitly removing the ht flag, but the guest still reports HT(cat > > /proc/cpuinfo in linux guest) enabled. In other words, under KVM the ht > > bit seems to be forced on even when the user tries to disable it. > > XiaoYao reminded me that issue [3] stems from a different patch. Please > ignore it for now—I'll start a separate thread to discuss that one > independently.
I haven't found any other thread :-). By the way, just curious, in what cases do you need to disbale the HT flag? "-smp 4" means 4 cores with 1 thread per core, and is it not enough? As for the “-ht” behavior, I'm also unsure whether this should be fixed or not - one possible consideration is whether “-ht” would be useful.