tests: qemuMonitorTest: drop the JSON field

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>
This commit is contained in:
Ján Tomko 2019-06-19 22:41:55 +02:00
parent f5e275c6e2
commit 2545f61e95

View File

@ -51,7 +51,6 @@ struct _qemuMonitorTest {
virMutex lock; virMutex lock;
virThread thread; virThread thread;
bool json;
bool quit; bool quit;
bool running; bool running;
bool started; bool started;
@ -1189,7 +1188,6 @@ qemuMonitorTestNew(virDomainXMLOptionPtr xmlopt,
if (!(test = qemuMonitorCommonTestNew(xmlopt, vm, &src))) if (!(test = qemuMonitorCommonTestNew(xmlopt, vm, &src)))
goto error; goto error;
test->json = true;
test->qapischema = schema; test->qapischema = schema;
if (!(test->mon = qemuMonitorOpen(test->vm, if (!(test->mon = qemuMonitorOpen(test->vm,
&src, &src,