[PATCH v2 3/8] schema, tests: Use vpxmigr for host migrate transport capability

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

 



Commit id 'e4938ce2f' changed the esx_driver to use 'vpxmigr'
instead of esx for virCapabilitiesAddHostMigrateTransport, so
update the capabilities to allow virt-xml-validate to pass and
update the test to use the newer name.

Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
---
 docs/schemas/capability.rng | 2 +-
 tests/vmx2xmltest.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/schemas/capability.rng b/docs/schemas/capability.rng
index e11dd51150..b8e1a0e930 100644
--- a/docs/schemas/capability.rng
+++ b/docs/schemas/capability.rng
@@ -160,7 +160,7 @@
           <oneOrMore>
             <element name='uri_transport'>
               <choice>
-                <value>esx</value>
+                <value>vpxmigr</value>
                 <value>tcp</value>
               </choice>
             </element>
diff --git a/tests/vmx2xmltest.c b/tests/vmx2xmltest.c
index 60913b6b11..7289dc91e3 100644
--- a/tests/vmx2xmltest.c
+++ b/tests/vmx2xmltest.c
@@ -30,7 +30,7 @@ testCapsInit(void)
     if (caps == NULL)
         return;
 
-    virCapabilitiesAddHostMigrateTransport(caps, "esx");
+    virCapabilitiesAddHostMigrateTransport(caps, "vpxmigr");
 
     /* i686 guest */
     guest =
-- 
2.14.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux