]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Refactor virDomainVcpuPinDefParseXML
authorPeter Krempa <pkrempa@redhat.com>
Thu, 14 Aug 2014 12:38:06 +0000 (14:38 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 18 Aug 2014 15:43:05 +0000 (17:43 +0200)
commit64bbf4c33d8ad6b5ade5d538d79d15d4cae27a15
tree063643dbce9f643078f5825d0104ffeef52bfdac
parentcb8a94bfa037b12b1c1896bd3c02f5bf6746d9e1
conf: Refactor virDomainVcpuPinDefParseXML

Tidy up control flow, change boolean argument to use 'bool', improve
error message in case the function is used to parse emulator pinning
info and avoid a few temp variables that made no sense.

Also when the function is called to parse emulator pinning info, there's
no need to check the processor ID in that case.
src/conf/domain_conf.c