]> xenbits.xensource.com Git - libvirt.git/commit
conf: Don't report errors from virDomainDefGetVcpu
authorPeter Krempa <pkrempa@redhat.com>
Thu, 30 Jun 2016 07:26:04 +0000 (09:26 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 11 Jul 2016 07:06:09 +0000 (09:06 +0200)
commit9cc931f0bbfc4529b3d07b4226af7b218624858d
tree092a7250caac71fa18848aa7aa899b3fa05fb8f2
parentc7d5dd3974df1edb6a1cd8fce989eea43d72527f
conf: Don't report errors from virDomainDefGetVcpu

Most callers make sure that it's never called with an out of range vCPU.
Every other caller reports a different error explicitly. Drop the error
reporting and clean up some dead code paths.
src/conf/domain_conf.c
src/qemu/qemu_driver.c