[libvirt] [PATCH 1/2] util: NUMA: Change error code in virNumaNodesetIsAvailable()
An invalid nodeset is a configuration problem rather than an internal error. --- Pushed as trivial. src/util/virnuma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virnuma.c b/src/util/virnuma.c index e986c71..669192a 100644 --- a/src/util/virnuma.c +++ b/src/util/virnuma.c @@ -977,7 +977,7 @@ virNumaNodesetIsAvailable(virBitmapPtr nodeset) if (virNumaNodeIsAvailable(bit)) continue; - virReportError(VIR_ERR_INTERNAL_ERROR, + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, _("NUMA node %zd is unavailable"), bit); return false; } -- 2.2.2
Please note that the subject is incorrect. This patch is only a single one. I've made a mistake when formatting it. On Wed, Mar 25, 2015 at 11:28:08 +0100, Peter Krempa wrote:
An invalid nodeset is a configuration problem rather than an internal error. ---
Pushed as trivial.
participants (1)
-
Peter Krempa