Re: [PATCH 4/4] capabilities: Allow suppressing error message from virCapabilitiesDomainSupported()

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

 



On Fri, Mar 08, 2024 at 16:15:26 +0100, Michal Privoznik wrote:
> In a few cases (CH driver) we want
> virCapabilitiesDomainSupported() just to check whether given
> virtType is supported and report a different error message (that
> suggests how to solve the problem). Introduce reportError
> argument which makes the function report an error iff set.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/bhyve/bhyve_domain.c   | 3 ++-
>  src/ch/ch_domain.c         | 5 ++++-
>  src/ch/ch_driver.c         | 4 ++--
>  src/ch/ch_process.c        | 4 ++--
>  src/conf/capabilities.c    | 5 +++--
>  src/conf/capabilities.h    | 3 ++-
>  src/libxl/libxl_domain.c   | 3 ++-
>  src/lxc/lxc_domain.c       | 3 ++-
>  src/openvz/openvz_conf.c   | 3 ++-
>  src/vmware/vmware_driver.c | 3 ++-
>  src/vmx/vmx.c              | 3 ++-
>  src/vz/vz_driver.c         | 3 ++-
>  12 files changed, 27 insertions(+), 15 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[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