[libvirt] [PATCH 3/3] tests: qemuMonitorTest: drop the JSON field

Ján Tomko jtomko at redhat.com
Wed Jun 19 20:43:41 UTC 2019


Now that we no longer support testing HMP monitor,
the json field is pointless.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 tests/qemumonitortestutils.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/qemumonitortestutils.c b/tests/qemumonitortestutils.c
index 9f18e511ac..d395a9b539 100644
--- a/tests/qemumonitortestutils.c
+++ b/tests/qemumonitortestutils.c
@@ -51,7 +51,6 @@ struct _qemuMonitorTest {
     virMutex lock;
     virThread thread;
 
-    bool json;
     bool quit;
     bool running;
     bool started;
@@ -1189,7 +1188,6 @@ qemuMonitorTestNew(virDomainXMLOptionPtr xmlopt,
     if (!(test = qemuMonitorCommonTestNew(xmlopt, vm, &src)))
         goto error;
 
-    test->json = true;
     test->qapischema = schema;
     if (!(test->mon = qemuMonitorOpen(test->vm,
                                       &src,
-- 
2.19.2




More information about the libvir-list mailing list