]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Deal with CPU models in []
authorJiri Denemark <jdenemar@redhat.com>
Tue, 13 Apr 2010 16:59:14 +0000 (18:59 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 22 Apr 2010 08:20:25 +0000 (10:20 +0200)
commite07314f4c12a9874bf55615b0a947e4e2df25287
tree4003e107964205e817e734a1758cf9780c22c7fe
parent9fbb810cf44e319c91ac04fff8beee1f8a9936f1
Deal with CPU models in []

Qemu committed a patch which list some CPU names in [] when asked for
supported CPUs (qemu -cpu ?). Yet, it needs such CPUs to be passed
without those square braces. When probing for supported CPU models, we
can just strip the square braces and pretend we have never seen them.
src/qemu/qemu_conf.c