On 2013年05月21日 16:45, Peter Maydell wrote:
On 21 May 2013 09:39, Daniel P. Berrange <berrange(a)redhat.com>
wrote:
> Libvirt has always had support for specifying what machine type to use.
> This discussion is simply about what machine type to default to, if the
> user hasn't explicitly asked for one.
>
> QEMU has the notion of a default machine for each target, and that is
> what libvirt uses if the user hasn't specified a machine. It is not
> libvirt's job to override QEMU's notion of the default machine here,
Agreed; thanks for the clarification.
> so if the 'mac99' machine type isn't suitable as the default either
> QEMU needs to change that for the ppc target, or the user needs to
> explicitly specify their desired machine type.
OK, that makes sense. So is the problem here just configuration
or is it the next layer above libvirt not being configurable?
Currently, the next layer above libvirt is not configurable.
It is dependent on this default setting. Users also expect
to start one VM successfully by default.
Thanks.
-- Li
(the thing about changing the default is that it obviously breaks
command line compatibility for anybody who was relying on the
old default. So for ARM we're a bit locked in to a default which
is pretty useless for most people.)
thanks
-- PMM