[libvirt] [Qemu-devel] [PATCH] qapi-schema.json: Reformat TargetType enum to one-per-line

Paolo Bonzini pbonzini at redhat.com
Wed May 22 14:38:27 UTC 2013


Il 22/05/2013 16:29, Anthony Liguori ha scritto:
> Peter Maydell <peter.maydell at linaro.org> writes:
> 
>> On 22 May 2013 14:15, Anthony Liguori <aliguori at us.ibm.com> wrote:
>>> Paolo Bonzini <pbonzini at redhat.com> writes:
>>>> You
>>>> don't need to know what targets were supported in the version that you
>>>> compiled from.  Only one target is supported in this executable
>>>> anyway.
>>>
>>> It seems useful to me.  One day we may support multiple targets per
>>> executable.
>>
>> Why would you care about which architectures the executable supports?
>> What you actually want to know is which machine models are supported;
>> whether board foo happens to be ARM or PPC isn't really very interesting
>> IMHO.
> 
> That's a very good point.  It was the libvirt folks that requested
> this.  Perhaps they can shed some light on the logic?

There is processor-dependent logic in libvirt, for example the CPUID bits.

Paolo




More information about the libvir-list mailing list