]> xenbits.xensource.com Git - libvirt.git/commit
domain_conf: Replace the name string with 'vcpu' if it is 'vcpus'
authorLiao Pingfang <liao.pingfang@zte.com.cn>
Wed, 1 Jul 2020 23:39:40 +0000 (07:39 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 8 Jul 2020 14:30:15 +0000 (16:30 +0200)
commit7ea55a481dd45f09b54425005362533ecc800cd2
tree6cb2e71131e1b5390693e0957ec7c435f2233bbf
parentccf627c110a178afa529818474e555bca62fc165
domain_conf: Replace the name string with 'vcpu' if it is 'vcpus'

If the name is 'vcpus', we will get 'vcpussched' instead of 'vcpusched'
in the error message as following:

... 19155 : vcpussched attributes 'vcpus' must not overlap

So we use 'vcpu' to replace 'vcpus'.

Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c