Re: [PATCH 01/15] conf: Make error reporting in virCPUDefIsEqual optional

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

 



On Mon, Jun 05, 2017 at 11:26:49AM +0200, Jiri Denemark wrote:
> The function will be used in paths where mismatching CPU defs are not an
> error.
> 
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/conf/cpu_conf.c    | 119 ++++++++++++++++++++++++++++++-------------------
>  src/conf/cpu_conf.h    |   3 +-
>  src/conf/domain_conf.c |   2 +-
>  3 files changed, 77 insertions(+), 47 deletions(-)

Isn't there a better way how to do it?  I don't like the fact that all
errors are wrapped by that *if*.

Pavel

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux