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(a)redhat.com>
---
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