[PATCH 02/15] Add VIR_STORAGE_FILE_FEATURE_DATA_FILE to virStorageFileFeature enum

Nikolai Barybin via Devel posted 15 patches 21 hours ago
[PATCH 02/15] Add VIR_STORAGE_FILE_FEATURE_DATA_FILE to virStorageFileFeature enum
Posted by Nikolai Barybin via Devel 21 hours ago
Signed-off-by: Nikolai Barybin <nikolai.barybin@virtuozzo.com>
---
 src/conf/storage_source_conf.c | 1 +
 src/conf/storage_source_conf.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/conf/storage_source_conf.c b/src/conf/storage_source_conf.c
index d4e39b9b57..2b658dd485 100644
--- a/src/conf/storage_source_conf.c
+++ b/src/conf/storage_source_conf.c
@@ -69,6 +69,7 @@ VIR_ENUM_IMPL(virStorageFileFeature,
               VIR_STORAGE_FILE_FEATURE_LAST,
               "lazy_refcounts",
               "extended_l2",
+              "data_file",
 );
 
 
diff --git a/src/conf/storage_source_conf.h b/src/conf/storage_source_conf.h
index aa2aa680de..9463722518 100644
--- a/src/conf/storage_source_conf.h
+++ b/src/conf/storage_source_conf.h
@@ -88,6 +88,7 @@ VIR_ENUM_DECL(virStorageFileFormat);
 typedef enum {
     VIR_STORAGE_FILE_FEATURE_LAZY_REFCOUNTS = 0,
     VIR_STORAGE_FILE_FEATURE_EXTENDED_L2,
+    VIR_STORAGE_FILE_FEATURE_DATA_FILE,
 
     VIR_STORAGE_FILE_FEATURE_LAST
 } virStorageFileFeature;
-- 
2.43.5
Re: [PATCH 02/15] Add VIR_STORAGE_FILE_FEATURE_DATA_FILE to virStorageFileFeature enum
Posted by Peter Krempa 29 minutes ago
On Wed, Nov 20, 2024 at 18:48:37 +0300, Nikolai Barybin via Devel wrote:
> Signed-off-by: Nikolai Barybin <nikolai.barybin@virtuozzo.com>
> ---
>  src/conf/storage_source_conf.c | 1 +
>  src/conf/storage_source_conf.h | 1 +
>  2 files changed, 2 insertions(+)

I'll be considering squashing this one into 6/15 as it's not used
anywhere else except that, or I'll add a commit message if I decide to
keep it separate.

Reviewed-by: Peter Krempa <pkrempa@redhat.com>