[libvirt] [PATCH] bhyveargv2xmltest: Fix call of virDomainDefCheckABIStability

Michal Privoznik posted 1 patch 6 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/567f04808e150a0457419fafa8377b77274992e8.1496656109.git.mprivozn@redhat.com
tests/bhyveargv2xmltest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [PATCH] bhyveargv2xmltest: Fix call of virDomainDefCheckABIStability
Posted by Michal Privoznik 6 years, 10 months ago
In 4f0aeed I've expanded the list of arguments for
virDomainDefCheckABIStability() but I forgot to fix
bhyveargv2xmltest.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---

Pushed under trivial and build-breaker rules.

 tests/bhyveargv2xmltest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/bhyveargv2xmltest.c b/tests/bhyveargv2xmltest.c
index bde7d0e05..9db3750ac 100644
--- a/tests/bhyveargv2xmltest.c
+++ b/tests/bhyveargv2xmltest.c
@@ -74,7 +74,7 @@ testCompareXMLToArgvFiles(const char *xmlfile,
         }
     }
 
-    if (vmdef && !virDomainDefCheckABIStability(vmdef, vmdef)) {
+    if (vmdef && !virDomainDefCheckABIStability(vmdef, vmdef, driver.xmlopt)) {
         VIR_TEST_DEBUG("ABI stability check failed on %s", xmlfile);
         goto fail;
     }
-- 
2.13.0

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