[libvirt] [PATCH] Add NUMA memory information to virsh capabilities output.

Dusty Mabe dustymabe at gmail.com
Thu Mar 7 05:13:30 UTC 2013


On Wed, Mar 6, 2013 at 5:07 PM, Daniel P. Berrange <berrange at redhat.com> wrote:
> On Thu, Feb 14, 2013 at 12:52:38PM -0500, Dusty Mabe wrote:
>>
>> +    if (numa_available() < 0) {
>> +        virReportError(VIR_ERR_INTERNAL_ERROR,
>> +                       "%s", _("NUMA not supported on this host"));
>> +        goto cleanup;
>> +    }
>
> This check isn't needed since you're calling this from
> nodeInitNUMA which has already done exactly this check


Dan,

Thanks for the comments! I have removed this check from the code.
Should I generate a new patch email with the finalized code? I assume
that I should do a git pull --rebase first. Please let me know if that
is not the case.

Dusty




More information about the libvir-list mailing list