Changeset
tests/qemuxml2argvtest.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
Git apply log
Switched to a new branch '103fa937a1cb40ee48d2113c014f00fdfd6b8294.1523546313.git.jtomko@redhat.com'
Applying: tests: remove FLAG_JSON from xml2argvtest
Using index info to reconstruct a base tree...
M	tests/qemuxml2argvtest.c
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
To https://github.com/patchew-project/libvirt
 * [new tag]         patchew/103fa937a1cb40ee48d2113c014f00fdfd6b8294.1523546313.git.jtomko@redhat.com -> patchew/103fa937a1cb40ee48d2113c014f00fdfd6b8294.1523546313.git.jtomko@redhat.com
Test passed: syntax-check

loading

[libvirt] [PATCH] tests: remove FLAG_JSON from xml2argvtest
Posted by Ján Tomko, 5 weeks ago
Unused as of commit <1e9a083>.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
---
Pushed as trivial.

 tests/qemuxml2argvtest.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index 3a328e02a2..472f7b28fe 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -265,8 +265,7 @@ static virStorageDriver fakeStorageDriver = {
 typedef enum {
     FLAG_EXPECT_FAILURE     = 1 << 0,
     FLAG_EXPECT_PARSE_ERROR = 1 << 1,
-    FLAG_JSON               = 1 << 2,
-    FLAG_FIPS               = 1 << 3,
+    FLAG_FIPS               = 1 << 2,
 } virQemuXML2ArgvTestFlags;
 
 struct testInfo {
@@ -462,9 +461,6 @@ testCompareXMLToArgv(const void *data)
     virSetConnectSecret(conn);
     virSetConnectStorage(conn);
 
-    if (virQEMUCapsGet(info->qemuCaps, QEMU_CAPS_MONITOR_JSON))
-        flags |= FLAG_JSON;
-
     if (virQEMUCapsGet(info->qemuCaps, QEMU_CAPS_ENABLE_FIPS))
         flags |= FLAG_FIPS;
 
-- 
2.16.1

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