]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Provide error on undefined vcpusched entry
authorJohn Ferlan <jferlan@redhat.com>
Mon, 15 Aug 2016 14:37:34 +0000 (10:37 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 17 Aug 2016 10:42:54 +0000 (06:42 -0400)
commit4b15fd0d1f3b63c0feb847b1bfe93cee46813601
tree31c190a3ec6bfedf50cd2fb02e6a50c9f603daeb
parentf0551b9bc4ec1c379c72dbf3f1ea7daa80b18ba9
conf: Provide error on undefined vcpusched entry

Modify virDomainDefGetVcpuSched to emit an error message if
virDomainDefGetVcpu returns NULL meaning the vcpu could not
be found. Prior to commit id '9cc931f0b' the error message
would have been issued in virDomainDefGetVcpu.
src/conf/domain_conf.c