On 2013年05月21日 17:25, Daniel P. Berrange wrote:
On Tue, May 21, 2013 at 05:02:51PM +0800, Li Zhang wrote:
> 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.
What is the application above libvirt you are using ? It clearly
needs to be fixed if it is to use non-x86 archs successfully.
Sorry for replying late. The applications are openstack and ovirt.
Thanks.
-- Li
Daniel