Re: [libvirt] [PATCH 4/8] domain_conf: Resolve Coverity COPY_PASTE_ERROR

2014-09-15 Thread Peter Krempa
On 09/13/14 15:27, John Ferlan wrote: > Seems when commit id 'ea130e3b' added the checks to ensure each of > the hard_limit, soft_limit, and swap_hard_limit wasn't set at > VIR_DOMAIN_MEMORY_PARAM_UNLIMITED - a copy/paste error of using > the 'hard_limit' for each comparison was done. Adjust the co

[libvirt] [PATCH 4/8] domain_conf: Resolve Coverity COPY_PASTE_ERROR

2014-09-13 Thread John Ferlan
Seems when commit id 'ea130e3b' added the checks to ensure each of the hard_limit, soft_limit, and swap_hard_limit wasn't set at VIR_DOMAIN_MEMORY_PARAM_UNLIMITED - a copy/paste error of using the 'hard_limit' for each comparison was done. Adjust the code. Signed-off-by: John Ferlan --- src/conf