On 4/4/25 08:27, Daniel Henrique Barboza wrote:
Using 'max' as default CPU is done by other QEMU archs like aarch64 so we'll be more compatible with everyone else.
This isn't true. qemu-system-aarch64 -M virt defaults to cortex-a15 (for hysterical raisins), which is completely and totally useless. Which means that one must always pass a -cpu option to qemu-system-aarch64.
Moreover, -cpu max has zero migration guarantees, so anyone who wants to be able to reliably migrate is encouraged to use a real cpu model.
I suppose, for throwaway VMs, -cpu max is a decent default. But there's a lot to be said for not specifying a default at all.
r~