monitor: Add allow_hmp parameter to monitor_init()
commita2f411c4671b0b6cfe5f3b91b65d9bc8456e75ab
authorKevin Wolf <kwolf@redhat.com>
Mon, 24 Feb 2020 14:30:07 +0000 (24 15:30 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 6 Mar 2020 16:21:28 +0000 (6 17:21 +0100)
tree1e77f49e02ffe116c3f8e57dade4ee22328269e7
parent8e9119a807df510f0d2ce4cdda3078166d6e99a7
monitor: Add allow_hmp parameter to monitor_init()

Add a new parameter allow_hmp to monitor_init() so that the storage
daemon can disable HMP.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200224143008.13362-20-kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
include/monitor/monitor.h
monitor/monitor.c
qapi/control.json