[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] tools/libxc: Fix error handling in get_cpuid_domain_info()
*** New tip has no discernable common ancestor with previous history *** Previously reported histories end at: e01fa4e223fc077e18936d890dbd4813c3e7c9b1 3a28f760508fb35c430edac17a9efde5aff6d1d5 123c7793797502b222300eb710cd3873dcca41ee c40317f11b3f05e7c06a2213560c8471081f2662 a6f2cdb633bf519244a16674031b8034b581ba7f 8e4b2676685f50bc26f03b5f62d8b7aea8e69dbf 2f5af2c962c05b789bdd65b46c74711e903f86d0 695bb5f504ab48c1d546446f104c1b6c0ead126d 9053a74c08fd6abf43bb45ff932b4386de7e8510 16b1414de91b5a82a0996c67f6db3af7d7e32873 572a78190403e5f2acbd01fa72c35fafe9700169 e871e80c38547d9faefc6604532ba3e985e65873 a823a5280f25ad19a751dd9a41044f556471e61a 6d8ffac1f7a782dc2c7f8df3871a294729ae36bd commit 82855aba5bf91e50c81526167c11d4aeaf665e66 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Thu Nov 29 18:17:01 2018 +0000 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Fri Nov 30 14:21:12 2018 +0000 tools/libxc: Fix error handling in get_cpuid_domain_info() get_cpuid_domain_info() has two conflicting return styles - either -error for local failures, or -1/errno for hypercall failures. Switch to consistently use -error. While fixing the xc_get_cpu_featureset(), take the opportunity to remove the redundancy and move it to be adjacent to the other featureset handling. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |