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

[libvirt] [PATCH 11/21] conf: domain: store namespace prefix



Signed-off-by: Ján Tomko <jtomko redhat com>
---
 src/bhyve/bhyve_domain.c | 1 +
 src/lxc/lxc_domain.c     | 1 +
 src/qemu/qemu_domain.c   | 1 +
 src/test/test_driver.c   | 1 +
 src/vmx/vmx.c            | 1 +
 5 files changed, 5 insertions(+)

diff --git a/src/bhyve/bhyve_domain.c b/src/bhyve/bhyve_domain.c
index 4924766030..9a21cde452 100644
--- a/src/bhyve/bhyve_domain.c
+++ b/src/bhyve/bhyve_domain.c
@@ -277,5 +277,6 @@ virXMLNamespace virBhyveDriverDomainXMLNamespace = {
     .parse = bhyveDomainDefNamespaceParse,
     .free = bhyveDomainDefNamespaceFree,
     .format = bhyveDomainDefNamespaceFormatXML,
+    .prefix = "bhyve",
     .href = bhyveDomainDefNamespaceHref,
 };
diff --git a/src/lxc/lxc_domain.c b/src/lxc/lxc_domain.c
index df847b4fca..b61c172804 100644
--- a/src/lxc/lxc_domain.c
+++ b/src/lxc/lxc_domain.c
@@ -321,6 +321,7 @@ virXMLNamespace virLXCDriverDomainXMLNamespace = {
     .parse = lxcDomainDefNamespaceParse,
     .free = lxcDomainDefNamespaceFree,
     .format = lxcDomainDefNamespaceFormatXML,
+    .prefix = "lxc",
     .href = lxcDomainDefNamespaceHref,
 };
 
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index f92b483bcf..bd124b824c 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -3732,6 +3732,7 @@ virXMLNamespace virQEMUDriverDomainXMLNamespace = {
     .parse = qemuDomainDefNamespaceParse,
     .free = qemuDomainDefNamespaceFree,
     .format = qemuDomainDefNamespaceFormatXML,
+    .prefix = "qemu",
     .href = qemuDomainDefNamespaceHref,
 };
 
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index 6dbd76d449..adda3ac4c0 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -429,6 +429,7 @@ testDriverNew(void)
     virXMLNamespace ns = {
         .parse = testDomainDefNamespaceParse,
         .free = testDomainDefNamespaceFree,
+        .prefix = "test",
     };
     virDomainDefParserConfig config = {
         .features = VIR_DOMAIN_DEF_FEATURE_MEMORY_HOTPLUG |
diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c
index 0f7c2d5f20..ac24e765d4 100644
--- a/src/vmx/vmx.c
+++ b/src/vmx/vmx.c
@@ -607,6 +607,7 @@ static virXMLNamespace virVMXDomainXMLNamespace = {
     .parse = NULL,
     .free = virVMXDomainDefNamespaceFree,
     .format = virVMXDomainDefNamespaceFormatXML,
+    .prefix = "vmware",
     .href = virVMXDomainDefNamespaceHref,
 };
 
-- 
2.19.2


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