]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Don't validate vcpu count in XML parser
authorPeter Krempa <pkrempa@redhat.com>
Thu, 25 Aug 2016 19:24:22 +0000 (15:24 -0400)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 26 Aug 2016 15:26:59 +0000 (11:26 -0400)
commitc9cb35c255222be7c972f1e049e297517aa84b42
treea40cc98f924c08c52b155fcbfafcb9e2fe0a1497
parent54147fd9be31838904f6f2251510da91a1bd0ca7
conf: Don't validate vcpu count in XML parser

Validating the vcpu count is more intricate and doing it in the XML
parser will make previously valid configs (with older qemus) vanish.

Now that we have a very similar check in the qemu domain validation
callback we can do it in a more appropriate place.

This basically reverts commit b54de0830a.

Partially resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1370066
src/conf/domain_conf.c