On 10/07/2017 09:42, Marcel Apfelbaum wrote: >>>> >>> >>> How about extending the command for supported machines with a >>> recommended machine type, and teaching libvirt to use that? >> >> I don't think QEMU has enough information to decide if it should >> recommend "q35" or "pc". > > We don't really need a complicated rule set, we would just recommend q35 > by default. Libvirt will try to create the default machine and if fails > for some reason (what would it be?) it can switch to PC. > > The advanced logic would be "old systems should use PC", where old > means Windows XP and before and so on. But this logic should appear > in management layers above.
That would be libosinfo. Paolo