Re: [PATCH 4/8] domain_capabilities: Introduce netdev capabilities

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

 



On Fri, Jun 28, 2024 at 15:12:33 +0200, Michal Privoznik wrote:
> If mgmt apps on top of libvirt want to make a decision on the
> backend type for <interface type='user'/> (e.g. whether past is
> supported) we currently offer them no way to learn this fact.
> Domain capabilities were invented exactly for this reason. Report
> supported net backend types there.
> 
> Now, because of backwards compatibility, specifying no backend
> type (which translates to VIR_DOMAIN_NET_BACKEND_DEFAULT) means
> "use hyperviosr's builtin SLIRP". That behaviour can not be
> changed. But it may happen that the hypervisor has no support for
> SLIRP. So we have to report it.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  docs/formatdomaincaps.rst       | 25 +++++++++++++++++++++++++
>  src/conf/domain_capabilities.c  | 13 +++++++++++++
>  src/conf/domain_capabilities.h  |  8 ++++++++
>  src/conf/schemas/domaincaps.rng | 10 ++++++++++
>  4 files changed, 56 insertions(+)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>



[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