]> xenbits.xensource.com Git - libvirt.git/commitdiff
schema,tests: Use vpxmigr for host migrate transport capability
authorJohn Ferlan <jferlan@redhat.com>
Fri, 18 May 2018 21:47:08 +0000 (17:47 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 25 May 2018 13:33:39 +0000 (09:33 -0400)
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@redhat.com>
ACKed-by Michal Privoznik <mprivozn@redhat.com>

docs/schemas/capability.rng
tests/vmx2xmltest.c

index e11dd511503acdc8f33dc83f0d6d7db66086ca0f..b8e1a0e93014e3ac574f55a613dd69c038ce44ca 100644 (file)
           <oneOrMore>
             <element name='uri_transport'>
               <choice>
-                <value>esx</value>
+                <value>vpxmigr</value>
                 <value>tcp</value>
               </choice>
             </element>
index 60913b6b118a2af86fc0b4173c773544f78749d1..7289dc91e3f96ff831ef5521bac750c0d59709ee 100644 (file)
@@ -30,7 +30,7 @@ testCapsInit(void)
     if (caps == NULL)
         return;
 
-    virCapabilitiesAddHostMigrateTransport(caps, "esx");
+    virCapabilitiesAddHostMigrateTransport(caps, "vpxmigr");
 
     /* i686 guest */
     guest =