
On Tue, Jul 11, 2017 at 10:13:05AM +0200, Gerd Hoffmann wrote:
Hi,
Concerning QEMU, could we maybe simply emit a warning a la
"you did not specify a machine type with the -M option, so you are currently running the the 'pc' machine type. Please note that future versions of QEMU might use the 'q35' machine type instead. If you require the 'pc' machine type for your setting, then please specify it with the -M option."
Warnings tend to get ignored until things are actually break, so I don't think this helps much. I think simply not having a default machine type (as already suggested elsewhere in this thread) is the best way to deal with this. That way we don't silently change behavior. It also is in line with what we have on arm where we already require the user to explicitly pick a machine type.
If we do that, we probably should wait for libvirt to adapt and choose its own default. Current libvirt would pick an arbitrary machine-type (the first one in the query-machines list) as the default. -- Eduardo