[libvirt] [Qemu-devel] change x86 default machine type to Q35?

Kevin Wolf kwolf at redhat.com
Wed Jul 12 08:28:13 UTC 2017


Am 12.07.2017 um 07:51 hat Gerd Hoffmann geschrieben:
> > > I think simply not having a default
> > > machine type (as already suggested elsewhere in this thread) is the
> > > best way to deal with this.
> > 
> > I would absolutely hate this. One of the nice things about qemu has
> > always been that 'qemu disk.img' is enough to start a simple VM.
> 
> Well, not really.  There is no "qemu" any more, and there are other
> defaults like default memory size which need tweaks, so the minimum
> command line isn't that short any more and looks more like this:
> 
>     qemu-system-x86_64 -enable-kvm -m 1G disk.img

Depends on what you want to do, but in the common case yes. So we have
already moved in the wrong direction. Not a good reason to do more of
it.

Actually, I think changing the defaults to -m 1G and -machine
accel=kvm:tcg would be much less problematic than -M q35, so maybe that
should be our first step towards better defaults. (Or at least something
to schedule for 3.0.)

And even changing the default to -M q35, however problematic, would
still be nicer than making -M non-optional.

Kevin




More information about the libvir-list mailing list