[libvirt] [PATCH 1/4] qemu: get arch name from <cpu> element

Paolo Bonzini pbonzini at redhat.com
Mon Jan 23 16:21:01 UTC 2012


On 01/23/2012 04:52 PM, Jiri Denemark wrote:
> I think we could just set cpu->model even if the model used in qemu command
> line was {qemu,kvm}{32,64}. That would probably mean we need to add some of
> the models in cpu_map.xml, though.

Actually I was doing that on purpose, not just for laziness. :)

The idea is that, if you were using -cpu just to set "-cpu 
{qemu,kvm}{32,64},-kvmclock", you will not get an irrelevant 
<cpu><model>qemu32</model></cpu> in domxml-from-native output.

Paolo




More information about the libvir-list mailing list