[libvirt] [PATCH] Removed more AMD-specific features from cpu64-rhel* models

Eric Blake eblake at redhat.com
Fri Mar 9 14:53:52 UTC 2012


On 03/09/2012 06:44 AM, Jiri Denemark wrote:
> On Thu, Mar 08, 2012 at 08:11:24 -0700, Eric Blake wrote:
>> On 03/08/2012 08:02 AM, Martin Kletzander wrote:
>>> We found few more AMD-specific features in cpu64-rhel* models that
>>> made it impossible to start qemu guest on Intel host (with this
>>> setting) even though qemu itself starts correctly with them.
>>> ---
>>>  src/cpu/cpu_map.xml |    2 --
>>>  1 files changed, 0 insertions(+), 2 deletions(-)
>>>
>>
>>> @@ -373,7 +372,6 @@
>>>        <feature name='sse'/>
>>>        <feature name='sse2'/>
>>>        <feature name='pni'/>
>>> -      <feature name='sse4a'/>
>>
>> Should we use this opportunity to sort the remaining feature names?
> 
> I haven't checked the ordering of features in these two models but all other
> models should have features sorted according to their bit values and I think
> that's what we should stick with. It's easier to visually compare such models
> with /proc/cpuinfo or qemu model definitions where features are also sorted
> that way. Sorting them alphabetically doesn't make much sense.

Indeed - sorting by bit value is more useful than sorting by name.  But
either way you look at it, the current list is not sorted :)

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120309/1717ca2f/attachment-0001.sig>


More information about the libvir-list mailing list