[libvirt] [PATCH v2 5/7] qemu: do not create useless <cpu> element

Jiri Denemark jdenemar at redhat.com
Fri Jan 27 15:07:09 UTC 2012


On Fri, Jan 27, 2012 at 14:49:50 +0100, Paolo Bonzini wrote:
> Avoid creating an empty <cpu> element when the QEMU command-line simply
> specifies the default "-cpu qemu32" or "-cpu qemu64".
> 
> This requires the previous patch, which lets us represent "-cpu qemu32"
> as <os arch='i686'> in the generated XML.
> 
> Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
> ---
>  src/qemu/qemu_command.c |   50 +++++++++++++++++++++++++++++++---------------
>  1 files changed, 34 insertions(+), 16 deletions(-)

ACK

Jirka




More information about the libvir-list mailing list