[PATCH v3 2/5] conf: Support to parse rbd namespace attribute

Peter Krempa pkrempa at redhat.com
Thu Aug 6 11:55:35 UTC 2020


On Thu, Aug 06, 2020 at 19:41:43 +0800, Han Han wrote:
> Signed-off-by: Han Han <hhan at redhat.com>
> ---
>  src/conf/domain_conf.c    | 4 ++++
>  src/util/virstoragefile.h | 1 +
>  2 files changed, 5 insertions(+)

[...]

> diff --git a/src/util/virstoragefile.h b/src/util/virstoragefile.h
> index f73b3ee005..0364fe5e7e 100644
> --- a/src/util/virstoragefile.h
> +++ b/src/util/virstoragefile.h
> @@ -284,6 +284,7 @@ struct _virStorageSource {
>      char *snapshot; /* for storage systems supporting internal snapshots */
>      char *configFile; /* some storage systems use config file as part of
>                           the source definition */
> +    char *namespace; /* for the storage systems supporting namespace */

'namespace' is a c++ keyword. Consider using a different identifier.




More information about the libvir-list mailing list