]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
PHYP: Bad comparison when checking for existing domain name
authorEduardo Otubo <otubo@linux.vnet.ibm.com>
Tue, 17 Aug 2010 19:04:49 +0000 (16:04 -0300)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 27 Aug 2010 10:19:10 +0000 (12:19 +0200)
commit09d37bdef5a00d9df35833c32f8740fc4ec4d31e
treebbf3cb9c31f5e5c6daa7bdb38b1c955f17bbe4b4
parente1bd99ab7e10cd87fb0f35f08d59004ed1ad52a2
PHYP: Bad comparison when checking for existing domain name

When creating a new domain from XML, the check for an existing
domain name should compare the return of the function to a valid
LPAR ID (!= -1) and not to error (== -1).
src/phyp/phyp_driver.c