Il 19/09/2013 18:58, Eduardo Habkost ha scritto: >> > >> > I disagree, since this would also affect TCG. I would prefer to add >> > x2apic only to models that really have it and would be open to generally >> > enabling it for kvm_enabled() in instance_init/registration (so that >> > users can disable it via ,-x2apic or soon QMP). > This won't affect TCG because features not supported by TCG are removed > automatically, and "enforce" doesn't even work on TCG mode (yet). > > I believe we agreed that we don't want to make the semantics of CPU > model names change depending if KVM or TCG are enabled[1], so I am > trying to avoid making the default depend on kvm_enabled().
I agree. I don't think it would matter much if one day TCG starts supporting x2apic (it's probably only a few hours work) and old CPUs started showing x2apic. Paolo