[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] PHYP: Checking for NULL values when building new guest



memory and maxmem might be 0 when the user sets the to 0 in the domain
XML. IMHO comparing>  0 is cleaner here.

I already submitted the patch v2 with this fix and I didn't understand exactly this comparison > 0. Memory should be greater than zero, right? Hence, if memory < 0, then ERROR. Right? If not, could you explain the reasons?

Thanks,

--
Eduardo Otubo
Software Engineer
Linux Technology Center
IBM Systems & Technology Group
Mobile: +55 19 8135 0885
eotubo linux vnet ibm com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]