OSDN Git Service

monitor: Move monitor option parsing to monitor/monitor.c
authorKevin Wolf <kwolf@redhat.com>
Wed, 29 Jan 2020 10:22:36 +0000 (11:22 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 17 Feb 2020 12:47:48 +0000 (13:47 +0100)
commitc3e9555182edc8766d67d2f4471774e2aac0500a
tree9fdab35d112e1d06a597bd41d05a3a5ef31fd955
parent9ced5c7c20cb16dff0c2fa3242c3ee96b68cec2a
monitor: Move monitor option parsing to monitor/monitor.c

Both the system emulators and tools with QMP support (specifically, the
planned storage daemon) will need to parse monitor options, so move that
code to monitor/monitor.c, which can be linked into binaries that aren't
a system emulator.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20200129102239.31435-2-kwolf@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
include/monitor/monitor.h
include/sysemu/sysemu.h
monitor/monitor.c
vl.c