Revert "qmp: isolate responses into io thread"
commit27656018d8683d02175fa5b7911353645d64cd9d
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 29 Aug 2018 13:40:36 +0000 (29 15:40 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 30 Aug 2018 14:08:51 +0000 (30 16:08 +0200)
treecdb0d0f0061061b54f6d8f61a28516ee7609e1f1
parent2aa788f5cb9e7fa24bed9091e7eae801f5c3ab04
Revert "qmp: isolate responses into io thread"

This reverts commit abe3cd0ff7f774966da6842620806ab7576fe4f3.

There is no need to add an additional queue to send the reply to the
IOThread, because QMP response is thread safe, and chardev write path
is thread safe. It will schedule the watcher in the associated
IOThread.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180829134043.31706-4-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
monitor.c