[libvirt] [Qemu-devel] Modern CPU models cannot be used with libvirt

Anthony Liguori anthony at codemonkey.ws
Sun Mar 25 15:07:24 UTC 2012


On 03/25/2012 09:58 AM, Gleb Natapov wrote:
> On Sun, Mar 25, 2012 at 03:14:56PM +0200, Avi Kivity wrote:
>> On 03/25/2012 03:12 PM, Anthony Liguori wrote:
>>>>> qemu -M pc
>>>>>
>>>>> Would effectively be short hand for -readconfig
>>>>> /usr/share/qemu/machines/pc.cfg
>>>>
>>>> In that case
>>>>
>>>>    qemu -cpu westmere
>>>>
>>>> is shorthand for -readconfig /usr/share/qemu/cpus/westmere.cfg.
>>>
>>>
>>> This is not a bad suggestion, although it would make -cpu ? a bit
>>> awkward.  Do you see an advantage to this over having
>>> /usr/share/qemu/target-x86_64-cpus.cfg that's read early on?
>>
>> Nope.  As long as qemu -nodefconfig -cpu westmere works, I'm happy.
>>
> As log as qemu -nodefconfig -cpu westmere -M pc1.1

-nodefconfig is going to eventually mean that -cpu westmere and -M pc-1.1 will 
not work.

This is where QEMU is going.  There is no reason that a normal user should ever 
use -nodefconfig.

Regards,

Anthony Liguori




More information about the libvir-list mailing list