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

Peter Krempa pkrempa at redhat.com
Mon Sep 15 07:45:25 UTC 2014


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 code.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/conf/domain_conf.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

ACK, introduced in commit ea130e3b

Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140915/dec2c6a7/attachment-0001.sig>


More information about the libvir-list mailing list