[PATCH 11/33] conf: add 'pnv-phb3-root-port' domain definition

Peter Krempa pkrempa at redhat.com
Fri Jan 21 14:17:40 UTC 2022


On Thu, Jan 20, 2022 at 10:52:14 -0300, Daniel Henrique Barboza wrote:
> Apart from being usable only with pnv-phb3 PCIE host bridges (to be
> added soon), this device acts as a regular pcie-root-port but with a
> specific model name.
> 
> Signed-off-by: Daniel Henrique Barboza <danielhb413 at gmail.com>
> ---
>  docs/schemas/domaincommon.rng | 1 +
>  src/conf/domain_conf.c        | 1 +
>  src/conf/domain_conf.h        | 1 +
>  src/qemu/qemu_validate.c      | 2 ++
>  4 files changed, 5 insertions(+)

[...]

> diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> index 393f9d9478..c540b740df 100644
> --- a/src/conf/domain_conf.c
> +++ b/src/conf/domain_conf.c
> @@ -437,6 +437,7 @@ VIR_ENUM_IMPL(virDomainControllerPCIModelName,
>                "pcie-root-port",
>                "spapr-pci-host-bridge",
>                "pcie-pci-bridge",
> +              "pnv-phb3-root-port",
>  );

Missing corresponding 'docs/formatdomain.rst' change.




More information about the libvir-list mailing list