On Thu, 17 Feb 2022 03:17:04 -0500 "Michael S. Tsirkin" <m...@redhat.com> wrote:
> On Thu, Feb 17, 2022 at 09:08:52AM +0100, Gerd Hoffmann wrote: > > Hi, > > > > > Other heretic question: Should we maybe get rid of the default machine > > > type > > > for *all* targets? ... so that we do not continue to run into this issue > > > again and again and again... > > > > /me votes "yes". > > > > take care, > > Gerd > > Well originally qemu tried to be friendly and to just create > a reasonable machine when given a disk, to the point where > it would even set up some networking by default. > > And I think it's not a bad idea, forcing everyone to specify a bunch of > boilerplate does not really result in people researching which machine > type is good for them, people instead just copy paste from a random > website. > > So maybe we can detect that basic usage somehow (I only have some > vague ideas) and then set a bunch of defaults that we consider > best? or ship with QEMU a wrapper script that does set defaults as older QEMU used to do. But it will still require user to change a called binary name, or maybe we can rename QEMU binary to something else and name wrapper as original QEMU.