]> xenbits.xensource.com Git - libvirt.git/commit
conf: Enforce ranges on cputune variables
authorPeter Krempa <pkrempa@redhat.com>
Mon, 11 Mar 2013 13:20:58 +0000 (14:20 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Apr 2013 12:50:25 +0000 (14:50 +0200)
commitf8e3221f9905972cf6d9aa78fd683f99e3bb13f3
treed31c2d6f06784597a234d1d9cb653d650fb5268d
parent5e5ca84e312fa375777da7ddd296f82e0b7b5cf4
conf: Enforce ranges on cputune variables

The limits are documented at
http://libvirt.org/formatdomain.html#elementsCPUTuning . Enforce them
when going through XML parsing in addition to being enforced by the API.
src/conf/domain_conf.c