[libvirt] [PATCH 1/2] virDomainNumatuneGetMode: Report if numatune was defined

Martin Kletzander mkletzan at redhat.com
Tue May 19 17:05:46 UTC 2015


On Tue, May 19, 2015 at 01:33:10PM +0200, Michal Privoznik wrote:
>So far, we are not reporting if numatune was even defined. The
>value of zero is blindly returned (which maps onto
>VIR_DOMAIN_NUMATUNE_MEM_STRICT). Unfortunately, we are making
>decisions based on this value. Instead, we should not inly return

s/inli/only/

>the correct value, but report to the caller if the value is valid
>at all.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
>
>Notes:
>    I know, qemuDomainGetNumaParameters() is not fixed yet, that's what the very
>    next patch does.  For better view on this patch use --ignore-space-change.
>

I like mentioning the usability of "-w" diff flag in the commit
message, that way it's visible for people going through the history.

Anyway, ACK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150519/33e777cf/attachment-0001.sig>


More information about the libvir-list mailing list