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