[libvirt] [PATCH 02/10] conf: Turn targetNode in struct virDomainMemoryDef to signed

John Ferlan jferlan at redhat.com
Tue Oct 20 13:36:29 UTC 2015



On 10/16/2015 08:11 AM, Peter Krempa wrote:
> Later on, we will need to know whether the user specified the target
> node or not. Turn the variable into a signed value. We already treat it
> as signed in various parts of the qemu driver.
> ---
>  src/conf/domain_conf.c | 10 ++++++----
>  src/conf/domain_conf.h |  2 +-
>  2 files changed, 7 insertions(+), 5 deletions(-)
> 

Seeing domaincommon.rng change in patch 8 got me to thinking - should it
change here? That is from unsignedInt to integer. Especially since
you're checking the return value determined < 0.

ACK - with that adjustment.

John




More information about the libvir-list mailing list