qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH] pc: change default machine model and versio


From: Andreas Färber
Subject: Re: [Qemu-devel] [RFC PATCH] pc: change default machine model and versions
Date: Tue, 10 Apr 2012 14:10:24 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120312 Thunderbird/11.0

Am 10.04.2012 12:32, schrieb Peter Maydell:
> On 10 April 2012 11:30, Andreas Färber <address@hidden> wrote:
>> Independent of what frequency of machine versions we offer, I think
>> defaulting to pc-1.0 is a bad idea. The people fiddling with QEMU
>> command lines are mostly developers, others can be expected to use a
>> more convenient frontend, such as libvirt or oVirt. I would hope that
>> updating any of these frontends to supply a -M pc-1.0 argument would be
>> possible without much effort. Expecting developers to type -M pc-next
>> again and again will result in pc-next not being tested as much and thus
>> broken quickly.
> 
> To throw in a tangential non-x86 perspective, I would prefer that
> there be no -M default at all. For ARM at any rate there is no
> machine which is inherently preferable or better than any other;
> the current default is integratorcp simply because it happened to
> be the first one implemented, and this tends to lead to user errors
> where people don't realise that not passing in a -M option results
> in their getting an ancient and barely maintained model...

I'd be fine with such an explicit choice, too. As a side-effect that
would simplify QOM'ification by not needing to create and iterate O(n)
classes (wasting memory during regular execution) just to find the
default one and then possibly override it with another.

I could generalize and clarify my goal as avoiding unintentionally using
the "wrong" machine.

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]