]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
xl: improve return and exit codes of vcpu related functions
authorHarmandeep Kaur <write.harmandeep@gmail.com>
Wed, 28 Oct 2015 02:26:22 +0000 (07:56 +0530)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 3 Nov 2015 17:03:04 +0000 (17:03 +0000)
commit5b725e56d684ca6a437c9679d53314e9ce9f20d7
tree63df4d076f55917196c90b36e1c95b36e4db0b9e
parent9fbb7b8386ef827ef3d3329af986643cf36c727c
xl: improve return and exit codes of vcpu related functions

Turning vcpu manipulation functions exit codes toward using the
EXIT_[SUCCESS|FAILURE] constants, instead of instead of arbitrary numbers
or libxl return codes.

Signed-off-by: Harmandeep Kaur <write.harmandeep@gmail.com>
Reviewed-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/xl_cmdimpl.c