On 11/7/25 10:17, Paolo Bonzini wrote:
On Fri, Jul 11, 2025 at 10:16 AM Xiaoyao Li <xiaoyao...@intel.com> wrote:
On 7/11/2025 3:55 PM, Paolo Bonzini wrote:
Simplify the accelerators' cpu_instance_init callbacks by doing all
host-cpu setup in a single function.

btw, it changes the behavior for "-cpu base" with accelerator.

I think it should be OK considering "-cpu base" seems only for
experiment case.

Yeah, I wonder if it should even be user creatable.

Per commit 5adbed3088d ("i386: Define static "base" CPU model"):

    Despite having no CPUID data set at all, "-cpu base" is even a
    functional CPU:

    * It can boot a Slackware Linux 1.01 image with a Linux 0.99.12
      kernel[1].
    * It is even possible to boot[2] a modern Fedora x86_64 guest by
      manually enabling the following CPU features:
      -cpu base,+lm,+msr,+pae,+fpu,+cx8,+cmov,+sse,+sse2,+fxsr

Anyhow I don't mind if it becomes hidden.

Regards,

Phil.

Reply via email to