It will be reused for <filesystem> as well.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
src/conf/domain_conf.h | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index ed07859bc5..5a93ee0aee 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -765,6 +765,20 @@ struct _virDomainControllerDef {
virDomainVirtioOptions *virtio;
};
+struct _virDomainIdMapEntry {
+ unsigned int start;
+ unsigned int target;
+ unsigned int count;
+};
+
+struct _virDomainIdMapDef {
+ size_t nuidmap;
+ virDomainIdMapEntry *uidmap;
+
+ size_t ngidmap;
+ virDomainIdMapEntry *gidmap;
+};
+
/* Types of disk backends */
typedef enum {
@@ -2671,20 +2685,6 @@ virDomainMemoryDef *virDomainMemoryDefNew(virDomainMemoryModel
model);
void virDomainMemoryDefFree(virDomainMemoryDef *def);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(virDomainMemoryDef, virDomainMemoryDefFree);
-struct _virDomainIdMapEntry {
- unsigned int start;
- unsigned int target;
- unsigned int count;
-};
-
-struct _virDomainIdMapDef {
- size_t nuidmap;
- virDomainIdMapEntry *uidmap;
-
- size_t ngidmap;
- virDomainIdMapEntry *gidmap;
-};
-
typedef enum {
VIR_DOMAIN_PANIC_MODEL_DEFAULT,
--
2.42.0