]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: qemuMonitorTest: drop the JSON field
authorJán Tomko <jtomko@redhat.com>
Wed, 19 Jun 2019 20:41:55 +0000 (22:41 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 20 Jun 2019 10:12:34 +0000 (12:12 +0200)
Now that we no longer support testing HMP monitor,
the json field is pointless.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
tests/qemumonitortestutils.c

index 9f18e511ac894a1b6b671c5e108a021036ccdbcd..d395a9b539c2056a838d9401fb2d18f119332f58 100644 (file)
@@ -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,