mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
util: NUMA: Change error code in virNumaNodesetIsAvailable()
An invalid nodeset is a configuration problem rather than an internal error.
This commit is contained in:
parent
225f7bf75c
commit
8ad871f39e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user